View source: R/visdat_custom_functions.R
visdat_grouped | R Documentation |
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
visdat_grouped(.data, ..., method = "vis_dat", .sample_frac = "auto")
... |
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. |
visdat plot separated by grouping variable.
## Not run:
diamonds %>% visdat_grouped(facet_group = cut)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.