home *** CD-ROM | disk | FTP | other *** search
-
- _L_e_v_e_l _N_a_m_e_s _f_o_r _a _F_a_c_t_o_r
-
- levels(x)
- levels(x) <- value
-
- _D_e_s_c_r_i_p_t_i_o_n:
-
- levels provides access to the levels attribute of fac-
- tor. The first form prints the levels of the observa-
- tions 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_e_e _A_l_s_o:
-
- nlevels.
-
-