lvls.Rd
Obtain levels from vector
lvls(x)
(character) or (factor) object to obtain levels.
character
factor
For factors, the levels will be returned. For characters, the sorted unique values will be returned.