negative match            package:memisc            R Documentation

_N_e_g_a_t_i_v_e _M_a_t_c_h

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

     '%nin%' is a convenience operator: 'x %nin% table' is equivalent
     to '!(x %in% table).'

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

       x %nin% table

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

       x: the values to be matched

   table: a values to be match against

_V_a_l_u_e:

     A logical vector

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

     x <- sample(1:6,12,replace=TRUE)
     x %in% 1:3
     x %nin% 1:3

