TITLE(levels @@ Level Names for a Factor)
USAGE(
levels(x)
levels(x) <- value
)
ALIAS(levels)
ALIAS(levels<-)
DESCRIPTION(
LANG(levels) provides access to the levels attribute of factor.
The first form prints the levels of the observations
and the second sets the levels.
In this case,
LANG(value) must be a vector of character strings with
length equal to the number of levels of LANG(x).
PARA
To find out how many levels a factor has user the function
LANG(nlevels).
)
SEEALSO(
LANG(LINK(factor)), LANG(LINK(nlevels)).
)
