Description Usage Arguments Value
View source: R/calc_multi_col_freqs.R
Calculates frequencies for multiple dataframe columns and returns them in a single data frame which can be used with the plot_stacked or plot_likert functions
1 | calc_multi_col_freqs(cols, factor_levels, calc_props = FALSE)
|
cols |
the selected columns (data.frame) |
factor_levels |
a list of factor levels for the cell values of all columns |
calc_props |
whether or not to calculate proportions (logical, FALSE by default) |
frequencies data frame with the frequencies of response options by column
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.