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 / nrow < prev    next >
Encoding:
Text File  |  1997-04-23  |  488 b   |  26 lines

  1.     
  2.     _T_h_e _N_u_m_b_e_r _o_f _R_o_w_s _o_f _a _M_a_t_r_i_x
  3.     
  4.          nrow(x)
  5.          NROW(x)
  6.     
  7.     _A_r_g_u_m_e_n_t_s:
  8.     
  9.                x : array
  10.     
  11.     _D_e_s_c_r_i_p_t_i_o_n:
  12.     
  13.          nrow returns the number of rows present in its argu-
  14.          ment.  NROW does the same, but dealing a vector as 1-
  15.          column matrix.
  16.     
  17.     _S_e_e _A_l_s_o:
  18.     
  19.          ncol and NCOL.
  20.     
  21.     _E_x_a_m_p_l_e_s:
  22.     
  23.          nrow(matrix(1:12, 3, 4)) # 3
  24.          NROW(1:12) # 12
  25.     
  26.