si_visdat_grouped: vis_dat for grouped data

Description Usage Arguments Value Examples

View source: R/visdat_custom_functions.R

Description

\lifecycle

experimental Produce a vis_dat plot for ipeds data split by year with optional sampling.

Usage

1
si_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

1
2
3
4
## Not run: 
diamonds %>% si_visdat_group(facet_group = cut)

## End(Not run)

Sorenson-Impact/sorensonimpact documentation built on Nov. 6, 2021, 4:25 a.m.