dropunusedlevels {crmn} | R Documentation |
Drop unused levels
Description
Drop unused factor levels in a data frame.
Usage
dropunusedlevels(x)
Arguments
x |
the data frame |
Author(s)
Henning Redestig
Examples
iris[1:10,]$Species
dropunusedlevels(iris[1:10,])$Species
[Package crmn version 0.0.21 Index]