home *** CD-ROM | disk | FTP | other *** search
/ Big Green CD 8 / BGCD_8_Dev.iso / NEXTSTEP / UNIX / Educational / R-0.49-MI / R-0.49-M / help / base / cut < prev    next >
Encoding:
Text File  |  1997-04-23  |  957 b   |  32 lines

  1.     
  2.     _C_o_n_v_e_r_t _N_u_m_e_r_i_c _t_o _F_a_c_t_o_r
  3.     
  4.          cut(x, breaks, labels)
  5.     
  6.     _A_r_g_u_m_e_n_t_s:
  7.     
  8.                 x: a numeric vector which is to be converted to
  9.                    a factor by cutting
  10.     
  11.            break : either a vector of cut points or number giv-
  12.                    ing the number of intervals which x is to be
  13.                    cut into.
  14.     
  15.           labels : labels for the levels of the resulting
  16.                    category
  17.     
  18.     _V_a_l_u_e:
  19.     
  20.          cut divides the range of x into intervals and codes the
  21.          values in x according to which interval they fall.  The
  22.          leftmost interval corresponds to level one, the next
  23.          leftmost to level two and so on.  If a labels parameter
  24.          is specified, its values are used to name the factor
  25.          levels. If none is specified, the factor level labels
  26.          are taken to be "Range 1", "Range 2", etc.
  27.     
  28.     _S_e_e _A_l_s_o:
  29.     
  30.          factor, tabulate.
  31.     
  32.