\HeaderA{madFilter-methods}{Median Absolute Deviation Filter}{madFilter.Rdash.methods}
\aliasA{madFilter}{madFilter-methods}{madFilter}
\aliasA{madFilter<\Rdash}{madFilter-methods}{madFilter<.Rdash.}
\keyword{methods}{madFilter-methods}
\begin{Description}\relax
This method initializes the Median Absolute Deviation Filter. \\
The MAD Filter flags all rows with: \code{flag = (mad >= cutoff)}

\emph{Usage}

\code{madFilter(object)} \\
\code{madFilter(object, value)<-}
\end{Description}
\begin{Arguments}
\begin{ldescription}
\item[\code{object}] object of class \code{PreFilter}.
\item[\code{value}] numeric vector \code{c(cutoff, epsilon)}.
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
The method \code{madFilter} initializes the following parameters:
\Tabular{lll}{
& \code{cutoff}:& the cutoff level for the filter. \\
& \code{epsilon}:& value to replace mean (default is \code{epsilon=0.01}).
}
Note, that \code{epsilon} has no effect on \code{mad}.
\end{Details}
\begin{Value}
An initialized \code{\LinkA{PreFilter}{PreFilter.Rdash.class}} object.
\end{Value}
\begin{Author}\relax
Christian Stratowa
\end{Author}
\begin{Examples}
\begin{ExampleCode}
prefltr <- PreFilter()
madFilter(prefltr) <- c(0.5,0.01)
str(prefltr)
\end{ExampleCode}
\end{Examples}

