Skip to contents

Produce a vis_dat plot for ipeds data split by year with optional sampling. [Maturing]

Note that parallel processing is built in if a future::plan() is set

Usage

visdat_grouped(.data, ..., method = "vis_dat", .sample_frac = "auto")

Arguments

...

bare, unquoted column(s) to use as the index to group by. Alternatively will accept a grouped df.

method

Which visdat function to use. One of "vis_dat", "vis_miss", or "vis_value". Accepts shorthand "dat", "val", and "miss".

.sample_frac

Percent of observations to sample from each year. Default "auto" samples down to 100,000 rows, split evenly between groups for vis_dat. For vis_miss and vis_value, "auto" uses all data.

Value

visdat plot separated by grouping variable.

Examples

if (FALSE) {
diamonds %>% visdat_grouped(facet_group = cut)
}