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 / table < prev    next >
Encoding:
Text File  |  1997-04-23  |  373 b   |  17 lines

  1.     
  2.     _C_r_o_s_s _T_a_b_u_l_a_t_i_o_n
  3.     
  4.          table(...)
  5.     
  6.     _D_e_s_c_r_i_p_t_i_o_n:
  7.     
  8.          table uses the cross-classifying factors provided as
  9.          arguments to build a contingency table of the counts at
  10.          each combination of factor levels.
  11.     
  12.     _E_x_a_m_p_l_e_s:
  13.     
  14.          # simple two-way contingency table
  15.          tab <- table(sex,age)
  16.     
  17.