powered by
The CreateFactor function creates a factor from a numeric vector and a character vector for levels
CreateFactor
CreateFactor(x, levels)
numeric vector containing the numeric indices of the levels
character vector levels