Description Usage Arguments Value Examples
Removes thin levels from factor variables in a data frame
1 | factor.remove.thin.levels(data, vars.list, thresh = 0.001, tag = NA)
|
data |
A data frame |
vars.list |
A list of pairs (variable.name,variable.type) such as those produced by |
thresh |
Defines the minimum number (or, if <1, the minimum proportion) of occurences of a level to be kept |
tag |
(defaults to NA) A value that will replace levels that do not appear in both |
A modified version of data
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.