Description Usage Arguments Value
View source: R/get_categories_rare.R
Retrieve a categorical variable's rare levels.
1 | get_categories_rare(df, varname_cat, thresh_frac_obs)
|
df |
A data frame. |
varname_cat |
A character name of categorical variable. |
thresh_frac_obs |
Numeric fraction of observations below which, category level considered 'rare'. |
Character indicator variable names.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.