Description Usage Arguments Value Examples
View source: R/order_appeared.R
Set levels of a factor to the order appeared in data
1 |
x |
a vector or a factor |
a factor with levels in the order appeared in x. This function will only return unique x levels,
1 | order_appeared (c("pear","apple","banana","banana","apple"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.