View source: R/make.limited.class.encoder.R
choose.categories | R Documentation |
Select a subset of a categorical variable cardinality.
choose.categories(values, cutoff = 0.8, min.use = 1, maxitems = NA)
values |
Vector of values to reduce cardinality of |
cutoff |
Total percentage of variable to capture |
min.use |
Minimum use of each choice to be included |
maxitems |
[optional] Maximum cardinality to reach |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.