Get a vector with the levels of a factor named with their own name. Useful for lapply loops over factor levels
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
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.