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 / rbind < prev    next >
Encoding:
Text File  |  1997-04-23  |  956 b   |  32 lines

  1.     
  2.     _C_o_m_b_i_n_e _R_o_w_s _i_n_t_o _a _M_a_t_r_i_x
  3.     
  4.          rbind(...)
  5.     
  6.     _V_a_l_u_e:
  7.     
  8.          rbind takes a sequence of vector and/or matrix argu-
  9.          ments and combines them as the rows of a matrix.
  10.     
  11.          If there are several matrix arguments, they must all
  12.          have the same number of columns and this will be the
  13.          number of columns of the result.  If all the arguments
  14.          are vectors, the number of columns in the result is
  15.          equal to the length of the longest vector.  Values in
  16.          shorter arguments are recycled to achieve this length.
  17.     
  18.          When the arguments consist of a mix of matrices and
  19.          vectors the number of columns of the result is deter-
  20.          mined by the number of columns of the matrix arguments.
  21.          Any vectors have their values recycled or subsetted to
  22.          achieve this length.
  23.     
  24.     _S_e_e _A_l_s_o:
  25.     
  26.          c, cbind.
  27.     
  28.     _E_x_a_m_p_l_e_s:
  29.     
  30.          rbind(1,1:n)
  31.     
  32.