Description Usage Arguments Value
This function is essentially the same as the levels command in base, but it will type-cast the return to numeric when that is valid.
1 | factorLevels(x)
|
x |
the factor from which to extract the levels |
the levels; this will be numeric if possible, character otherwise
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.