vis_dat for grouped data
visdat_grouped.Rd
Produce a vis_dat plot for ipeds data split by year with optional sampling.
Note that parallel processing is built in if a future::plan()
is set
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.
Examples
if (FALSE) {
diamonds %>% visdat_grouped(facet_group = cut)
}