Description Usage Arguments Details Value Author(s)
View source: R/droplevels.colored.R
Drop unused levels from a colored factor and its color key
1 2 | ## S3 method for class 'colored'
droplevels(x, ...)
|
x |
a colored factor |
... |
further arguments passed to methods |
This subclass method extends droplevels.factor
to handle
updating of the special color key attribute of colored factors.
a colored factor with no unused levels
David C. Norris
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.