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)

