wu_skim_with | R Documentation |
Build a custom skim function that adds percents to factor summaries
wu_skim_with(
fct_n_levels = NULL,
fct_percents = TRUE,
fct_digits = 1,
fct_delimiter = c(", ", "<br>")
)
fct_n_levels |
number of factor levels to print sorted in descending frequency |
fct_percents |
flag to print percents per level |
fct_digits |
number of significant digits to print for factor summaries |
fct_delimiter |
delimiter to use between factor levels |
A new skim() function. This is callable.
NAs are ignored when computing percents.
wu_skim <- wu_skim_with()
wu_skim(factor(mtcars$cyl))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.