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-I / help / base / data.matrix < prev    next >
Encoding:
Text File  |  1997-04-23  |  583 b   |  22 lines

  1.     
  2.     _D_a_t_a _F_r_a_m_e _t_o _N_u_m_e_r_i_c _M_a_t_r_i_x
  3.     
  4.          data.matrix(frame)
  5.     
  6.     _A_r_g_u_m_e_n_t_s:
  7.     
  8.            frame : a data frame whose components are either log-
  9.                    ical vectors, factors or numeric vectors.
  10.     
  11.     _V_a_l_u_e:
  12.     
  13.          The matrix obtained by converting all the variables in
  14.          a data frame to numeric mode and then binding them
  15.          together as the columns of a matrix.  Factors and
  16.          ordered factors are replaced by their codes.
  17.     
  18.     _S_e_e _A_l_s_o:
  19.     
  20.          as.matrix, codes, data.frame, matrix.
  21.     
  22.