percent_summ | R Documentation |
Count a factor and then add a column which shows percentage
percent_summ(df, var)
df |
Data frame or tibble object |
var |
The variable to count |
A summary table with the factor, count and percentage
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.