recodeLevelsDS {dsBase} | R Documentation |
The functions uses the input factor and generates a new factor with new levels.
recodeLevelsDS(x = NULL, classes = NULL)
x |
a factor vector |
classes |
a character vector the levels of the newt factor vector |
a factor vector with the new levels
Gaye, A.