Compared to base R, this function creates levels in the order in which they appear, which will be the same on every platform. (Base R sorts in the current locale which can vary from place to place.)
1 2 3 4 5 6 7
Object to coerce to a factor.
Other arguments passed down to method.
This is a generic function.
1 2 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.