namedLevels | R Documentation |
Get a vector with the levels of a factor named with their own name. Useful for lapply loops over factor levels
namedLevels(f)
f |
a factor |
named character vector of factor levels
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.