recodeLevelsDS: Recodes the levels of a categorical variables
Description
The functions uses the input factor and generates a new factor
with new levels.
Usage
recodeLevelsDS(x = NULL, classes = NULL)
Value
a factor vector with the new levels
Arguments
- x
a factor vector
- classes
a character vector the levels of the newt factor vector