![[Stable]](figures/lifecycle-stable.svg)
This discards the observations as well as the levels specified from a factor.
Arguments
- x
(factor
)
the original factor.
- discard
(character
)
which levels to discard.
Value
A modified factor
with observations as well as levels from discard
dropped.