cl | R Documentation |
This is a shortcut for creating factors with levels as the order of appearance of the specified levels.
cl(...)
... |
unique elements or vectors with unique elements |
A factor (vector)
cc
factor("b","a")
cl("b","a")
x <- c("b","a")
factor(x)
cl(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.