namedLevels: Get a vector with the levels of a factor named with their own...

View source: R/plot.R

namedLevelsR Documentation

Get a vector with the levels of a factor named with their own name. Useful for lapply loops over factor levels

Description

Get a vector with the levels of a factor named with their own name. Useful for lapply loops over factor levels

Usage

namedLevels(f)

Arguments

f

a factor

Value

named character vector of factor levels


conos documentation built on April 12, 2022, 1:06 a.m.