Description Usage Arguments Value See Also
Reorder Levels of a Factor
1 | freorder(x)
|
x |
a factor, an atomic vector. The vector is treated as a categorical variable whose levels will be reordered. |
By default, the function will return the factor in the descending order.
reorder freorder(factor(c(1000,100,10)))\n freorder(factor(c("a","z","m")))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.