Description Usage Arguments Value
Tabulate categorical variables from data frame
1 |
column_names |
Character vector with names of categorical variables |
data |
Data frame containing categorical variables |
digits |
Number of decimal digits to use for "%" column |
A data frame with columns "variable", "category", "N", "n", "%". The "variable" column contains the column names of the categorical variables from 'data'. The "category" column contains the levels of the variables. The "N" column contains the total number of observations per variable. The "n" column contains the number of observations per category of each variable. The "%" column contains the percentage of observations that fall into a given category.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.