Description Usage Arguments Examples
Calculate frequency and percentage caounts for all categorical variables.
1 | calc_count_all(df, col = n, show_percent = TRUE, max_categories = 5)
|
df |
A tibble. |
col |
A fixed value that is quoted, representing number of cases. |
show_percent |
Round and format percentages with %. |
max_categories |
A numeric scalar. Treat numeric variable as categorical for max_categories. |
1 | mtcars %>% get_counts_all(max_categories = 3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.