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 / match < prev    next >
Encoding:
Text File  |  1997-04-23  |  513 b   |  21 lines

  1.     
  2.     _V_a_l_u_e _M_a_t_c_h_i_n_g
  3.     
  4.          match(x, table, nomatch=NA)
  5.     
  6.     _A_r_g_u_m_e_n_t_s:
  7.     
  8.                x : the values to be matched.
  9.     
  10.            table : the values to be matched against.
  11.     
  12.          nomatch : the value to be returned in the case when no
  13.                    match is found.
  14.     
  15.     _D_e_s_c_r_i_p_t_i_o_n:
  16.     
  17.          If x[i] is found to equal table[j] then the value
  18.          returned in the i-th position of the return value is j.
  19.          If no match is found, the value is nomatch.
  20.     
  21.