Description Usage Arguments Examples
Compared to base::droplevels(), does not drop NA levels that have values.
1 | tct_drop(x, only)
|
x |
a |
only |
A character vector restricting the set of levels to be dropped. If supplied, only levels that have no entries and appear in this vector will be removed. |
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.