Description Usage Arguments Value
Reorder levels in a vector
1 | order_vars(x, x_order = NULL)
|
x |
[vector] A vector whose factors we want to reorder (or create). |
x_order |
[vectors] The new levels to use for each name in vars. |
x [vector] version of x with levels in the correct order
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.