home *** CD-ROM | disk | FTP | other *** search
-
- _C_o_n_v_e_r_t _N_u_m_e_r_i_c _t_o _F_a_c_t_o_r
-
- cut(x, breaks, labels)
-
- _A_r_g_u_m_e_n_t_s:
-
- x: a numeric vector which is to be converted to
- a factor by cutting
-
- break : either a vector of cut points or number giv-
- ing the number of intervals which x is to be
- cut into.
-
- labels : labels for the levels of the resulting
- category
-
- _V_a_l_u_e:
-
- cut divides the range of x into intervals and codes the
- values in x according to which interval they fall. The
- leftmost interval corresponds to level one, the next
- leftmost to level two and so on. If a labels parameter
- is specified, its values are used to name the factor
- levels. If none is specified, the factor level labels
- are taken to be "Range 1", "Range 2", etc.
-
- _S_e_e _A_l_s_o:
-
- factor, tabulate.
-
-