View source: R/get_frequency.R
get_frequency | R Documentation |
Get frequency distribution of non-numeric variables
get_frequency(df, vars, unique.threshold.pct = 0.8)
df |
A dataframe of variables |
vars |
A list of non-numeric variables to get frequencies for |
unique.threshold.pct |
A value between 0 and 1. If the number of unique values for a variable is > to this threshold, it will not output the frequency distribution. |
A list of two. Each being a dataframe. First dataframe will give the frequency distribution to the variables. The second dataframe will show the percent missing for each variable
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.