Description Usage Arguments See Also
The function droplevels
is used to drop unused levels from a factor
or, more commonly, from factors in a data.frame
. This method preserves
meta-data (e.g., label and unit of measurement).
1 2 3 4 5 | ## S4 method for signature 'annotated_factor'
droplevels(x, ...)
## S4 method for signature 'annotated_named_factor'
droplevels(x, ...)
|
x |
An annotated factor from which to drop unused levels. |
... |
Further arguments that can be passed, see |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.