Description Usage Arguments Examples
Calculate counts & percentages for selection of categorical variables
1 | calc_count(df, ..., col = n, show_percent = TRUE)
|
df |
A tibble. |
col |
A fixed value that is quoted, representing number of cases. |
show_percent |
Round and format percentages with %. |
1 2 | mtcars %>% calc_count(cyl)
mtcars %>% calc_count(cyl, am)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.