pOverA package:genefilter R Documentation _A _f_i_l_t_e_r _f_u_n_c_t_i_o_n _t_o _f_i_l_t_e_r _a_c_c_o_r_d_i_n_g _t_o _t_h_e _p_r_o_p_o_r_t_i_o_n _o_f _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: A function that returns a function with values for 'A', 'p' and 'na.rm' bound to the specified values. The function takes a single vector, 'x', as an argument. When the returned function is evaluated it returns 'TRUE' if the proportion of values in 'x' that are larger than 'A' is at least 'p'. _U_s_a_g_e: pOverA(p=0.05, A=100, na.rm=TRUE) _A_r_g_u_m_e_n_t_s: A: The value to be exceeded. p: The proportion that need to exceed 'A' for 'TRUE' to be returned. na.rm: If 'TRUE' then 'NA''s are removed. _V_a_l_u_e: 'pOverA' returns a function with bindings for 'A', 'p' and 'na.rm'. This function evaluates to 'TRUE' if the proportion of values in 'x' that are larger than 'A' exceeds 'p'. _A_u_t_h_o_r(_s): R. Gentleman _S_e_e _A_l_s_o: 'cv' _E_x_a_m_p_l_e_s: ff<- pOverA(p=.1, 10) ff(1:20) ff(1:5)