Description Usage Arguments Value See Also Examples
sets levels to the order in which they appear in the data, i.e. set the levels “as is”
1 | fset_level(x)
|
x |
factor |
Return a factor with its level identical to the order of the data
base::factor
1 2 | fset_level(factor(c("banana","coconut","apple")))
this will return a sorted level: apple, babana, coconut in the alphabetical order.
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.