.factor_with_attr {volker} | R Documentation |
Create a factor vector and preserve all attributes
.factor_with_attr(x, levels = NULL)
x |
The source value, usually a character vector |
levels |
The new levels |
A factor vector with the new levels