Rdocumentation
powered by
Learn R Programming
VizOR (version 0.8-5)
droplevels.colored: Drop unused levels from a colored factor
Description
Drop unused levels from a colored factor and its color key
Usage
"droplevels"(x, ...)
Arguments
x
a colored factor
...
further arguments passed to methods
Value
a colored factor with no unused levels
Details
This subclass method extends
droplevels.factor
to handle updating of the special color key attribute of colored factors.