cv package:genefilter R Documentation _A _f_i_l_t_e_r _f_u_n_c_t_i_o_n _f_o_r _t_h_e _c_o_e_f_f_i_c_i_e_n_t _o_f _v_a_r_i_a_t_i_o_n. _D_e_s_c_r_i_p_t_i_o_n: 'cv' returns a function with values for 'a' and 'b' bound. This function takes a single argument. It computes the coefficient of variation for the input vector and returns 'TRUE' if the coefficient of variation is between 'a' and 'b'. Otherwise it returns 'FALSE' _U_s_a_g_e: cv(a=1, b=Inf, na.rm=TRUE) _A_r_g_u_m_e_n_t_s: a: The lower bound for the cv. b: The upper bound for the cv. na.rm: If set to 'TRUE' any 'NA''s will be removed. _D_e_t_a_i_l_s: The coefficient of variation is the standard deviation divided by the absolute value of the mean. _V_a_l_u_e: It returns a function of one argument. The function has an environment with bindings for 'a' and 'b'. _A_u_t_h_o_r(_s): R. Gentleman _S_e_e _A_l_s_o: 'pOverA', 'kOverA' _E_x_a_m_p_l_e_s: set.seed(-3) cvfun <- cv(1,10) cvfun(rnorm(10,10)) cvfun(rnorm(10))