madFilter-methods            package:xps            R Documentation

_M_e_d_i_a_n _A_b_s_o_l_u_t_e _D_e_v_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 Median Absolute Deviation Filter. 
      The MAD Filter flags all rows with: 'flag = (mad >= cutoff)'

     _Usage_

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

_A_r_g_u_m_e_n_t_s:

  object: object of class 'PreFilter'.

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

_D_e_t_a_i_l_s:

     The method 'madFilter' initializes the following parameters:

         'cutoff':   the cutoff level for the filter.
         'epsilon':  value to replace mean (default is 'epsilon=0.01').

     Note, that 'epsilon' has no effect on 'mad'.

_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()
     madFilter(prefltr) <- c(0.5,0.01)
     str(prefltr)

