droplevels.colored: Drop unused levels from a colored factor

Description Usage Arguments Details Value Author(s)

View source: R/droplevels.colored.R

Description

Drop unused levels from a colored factor and its color key

Usage

1
2
## S3 method for class 'colored'
droplevels(x, ...)

Arguments

x

a colored factor

...

further arguments passed to methods

Details

This subclass method extends droplevels.factor to handle updating of the special color key attribute of colored factors.

Value

a colored factor with no unused levels

Author(s)

David C. Norris


VizOR documentation built on May 30, 2017, 5:29 a.m.