cvFilter-methods             package:xps             R Documentation

_C_o_e_f_f_i_c_i_e_n_t _o_f _V_a_r_i_a_t_i_o_n _F_i_l_t_e_r

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

     This method initializes the Coefficient of Variation Filter. 
      The coefficient of variation is the standard deviation divided by
     the absolute value of the mean. 
      The CV Filter flags all rows with: 'flag = (cv >= cutoff)'

     _Usage_

         'cvFilter(object)'
         'cvFilter(object, value)<-'

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

  object: object of class 'PreFilter'.

   value: numeric vector 'c(cutoff, trim, epsilon)'.

_D_e_t_a_i_l_s:

     The method 'cvFilter' initializes the following parameters:

         'cutoff':   the cutoff level for the filter.
         'trim':     the trim value for trimmed mean (default is 'trim=0').
         'epsilon':  value to replace mean (default is 'epsilon=0.01'):
                     'epsilon > 0': replace mean=0 with epsilon.
                     'epsilon = 0': always set mean=1.

     Note, that for 'epsilon = 0' the filter flags all rows with: stdev
     >= cutoff

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

     An initialized 'PreFilter' object.

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

     Christian Stratowa

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

     prefltr <- PreFilter()
     cvFilter(prefltr) <- c(0.3,0.0,0.01)
     str(prefltr)

