| .drop_unused_levels | R Documentation |
Drop unused factor levels and report which were removed
.drop_unused_levels(data, factor_vars)
data |
data.frame |
factor_vars |
character vector of factor column names |
data.frame with unused levels dropped
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.