Drop unused levels in a factor
object to be processed
should factor levels be reordered using
additional arguments to
drop.levels is a generic function, where default method does
nothing, while method for factor
s drops all unused levels. Drop
is done with
There are also convenient methods for
where all unused levels are dropped in all factors (one by one) in a
list or a
Input object without unused levels.
Jim Rogers email@example.com and Gregor Gorjanc
1 2 3 4 5 6 7 8 9
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.