kOverA              package:genefilter              R Documentation

_A _f_i_l_t_e_r _f_u_n_c_t_i_o_n _f_o_r _k _e_l_e_m_e_n_t_s _l_a_r_g_e_r _t_h_a_n _A.

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

     'kOverA' returns a filter function with bindings for 'k' and 'A'.
     This function evaluates to 'TRUE' if at least 'k' of the arguments
     elements are larger than 'A'.

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

     kOverA(k, A=100, na.rm=TRUE)

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

       A: The value you want to exceed. 

       k: The number of elements that have to exceed A.

   na.rm: If set to 'TRUE' any 'NA''s will be removed. 

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

     A function with bindings for 'A' and 'k'.

_A_u_t_h_o_r(_s):

     R. Gentleman

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

     'pOverA'

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

        fg <- kOverA(5, 100)
        fg(90:100)
        fg(98:110)

