.combine_lowFreqLevels | R Documentation |
Merge low freq levels into a single level
.combine_lowFreqLevels(x, n = 2, repl = "Other", includeLevN = T)
x |
array, categorical variable to be processed |
n |
num Percent frequency value of x level, for assigning new level |
repl |
char, Name of new level |
includeLevN |
logic, Level name indicates number of merges |
x with low freq levels merged into new level
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.