

   LLeevveell NNaammeess ffoorr aa FFaaccttoorr

        levels(x)
        levels(x) <- value

   DDeessccrriippttiioonn::

        `levels' provides access to the levels attribute of
        factor.  The first form prints the levels of the obser-
        vations and the second sets the levels.  In this case,
        `value' must be a vector of character strings with
        length equal to the number of levels of `x'.

        To find out how many levels a factor has user the func-
        tion `nlevels'.

   SSeeee AAllssoo::

        `factor', `nlevels'.

