vec_prioritise | R Documentation |
Shoves elements of a character vector to the front or back. Throws a warning if any elements of 'high' or 'low' are not present in 'x'.
vec_prioritise(x, high = NULL, low = NULL)
x |
a character vector |
high |
elements to be put to the front |
low |
elements to be put to the back |
a reordered vector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.