powered by
This is a shortcut for creating factors with levels as the order of appearance of the specified levels.
cl(...)
A factor (vector)
unique elements or vectors with unique elements
cc
factor("b","a") cl("b","a") x <- c("b","a") factor(x) cl(x)
Run the code above in your browser using DataLab