\Header{filtering}{Filter data before feeding som algorithm}
\keyword{manip}{filtering}
\begin{Description}\relax
Filtering data by certain floor, ceiling, max/min ratio, and max - min difference.\end{Description}
\begin{Usage}
\begin{verbatim}
filtering(x, lt=20, ut=16000, mmr=3, mmd=200)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{x}] a data frame or matrix of input data.

\item[\code{lt}] floor value replaces those less than it with the value

\item[\code{ut}] ceiling value replaced those greater than it with the value

\item[\code{mmr}] the max/min ratio, rows with max/min < mmr will be removed

\item[\code{mmd}] the max - min difference, rows with (max - min) < mmd will be removed

\end{ldescription}
\end{Arguments}
\begin{Value}
An dataframe or matrix after the filtering\end{Value}
\begin{Author}\relax
Jun Yan <jyan@stat.wisc.edu>\end{Author}
\begin{SeeAlso}\relax
\code{\Link{normalize}}.\end{SeeAlso}

