MATCH                  package:zoo                  R Documentation

_V_a_l_u_e _M_a_t_c_h_i_n_g

_D_e_s_c_r_i_p_t_i_o_n:

     'MATCH' is a generic function for value matching.

_U_s_a_g_e:

     MATCH(x, table, nomatch = NA, ...)

_A_r_g_u_m_e_n_t_s:

       x: an object.

   table: the values to be matched against.

 nomatch: the value to be returned in the case when no match is found. 
          Note that it is coerced to 'integer'.

     ...: further arguments to be passed to methods.

_D_e_t_a_i_l_s:

     'MATCH' is a new generic function which aims at providing the
     functionality of the non-generic base function 'match' for
     arbitrary objects. Currently, there is only a default method which
     simply calls 'match'.

_S_e_e _A_l_s_o:

     'match'

_E_x_a_m_p_l_e_s:

     MATCH(1:5, 2:3)

