%nin%                package:Hmisc                R Documentation

_F_i_n_d _M_a_t_c_h_i_n_g (_o_r _N_o_n-_M_a_t_c_h_i_n_g) _E_l_e_m_e_n_t_s

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

     %nin% is a binary operator, which returns a logical vector
     indicating if there is a match or not for its left operand. A true
     vector element indicates no match in left operand, false indicates
     a match.

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

     a %nin% b

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

       a: a vector (numeric, character, factor) 

       b: a vector (numeric, character, factor), matching the mode of a 

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

     vector of logical values with length equal to length of 'a'.

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

     'match' '%in%'

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

     c('a','b','c') %nin% c('a','b')

