\HeaderA{cvFilter-methods}{Coefficient of Variation Filter}{cvFilter.Rdash.methods}
\aliasA{cvFilter}{cvFilter-methods}{cvFilter}
\aliasA{cvFilter<\Rdash}{cvFilter-methods}{cvFilter<.Rdash.}
\keyword{methods}{cvFilter-methods}
\begin{Description}\relax
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: \code{flag = (cv >= cutoff)}

\emph{Usage}

\Tabular{ll}{
& \code{cvFilter(object)} \\
& \code{cvFilter(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{cvFilter} 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: stdev >= 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()
cvFilter(prefltr) <- c(0.3,0.0,0.01)
str(prefltr)
\end{ExampleCode}
\end{Examples}

