Wraps dplyr::count()
to calculate counts and group percentages for a given
combination of variables.
1 |
df |
a data frame |
x |
a variable whose levels are counted |
... |
additional variables to count by, defining also the grouping that is used to calculate percentages |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.