\HeaderA{varFilter-methods}{Variance Filter}{varFilter.Rdash.methods}
\aliasA{varFilter}{varFilter-methods}{varFilter}
\aliasA{varFilter<\Rdash}{varFilter-methods}{varFilter<.Rdash.}
\keyword{methods}{varFilter-methods}
\begin{Description}\relax
This method initializes the Variance Filter. \\
The Variance Filter flags all rows with: \code{flag = (var/mean >= cutoff)}

\emph{Usage}

\code{varFilter(object)} \\
\code{varFilter(object, value)<-}
\end{Description}
\begin{Arguments}
\begin{ldescription}
\item[\code{object}] object of class \code{PreFilter}.
\item[\code{value}] numeric vector \code{c(cutoff, trim, epsilon)}.
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
The method \code{varFilter} initializes the following parameters:
\Tabular{lll}{
& \code{cutoff}:& the cutoff level for the filter. \\
& \code{trim}:& the trim value for trimmed mean (default is \code{trim=0}). \\
& \code{epsilon}:& value to replace mean (default is \code{epsilon=0.01}): \\
&                & \code{epsilon > 0}: replace mean=0 with epsilon. \\
&                & \code{epsilon = 0}: always set mean=1.
}
Note, that for \code{epsilon = 0} the filter flags all rows with: variance >= cutoff
\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()
varFilter(prefltr) <- c(0.6,0.02,0.01)
str(prefltr)
\end{ExampleCode}
\end{Examples}

