| reorderlevels | R Documentation |
Reorder factor levels
reorderlevels(x, by)
x |
An atomic vector. |
by |
Character vector of column names identifying groups or join keys. |
A factor with reordered levels.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.