\HeaderA{standard}{Estimate the critical bandwidth for specific number of modes}{standard}
\keyword{math}{standard}
\begin{Description}\relax
Standardize a numeric vector by its median and median absolute
deviation (MAD).
\end{Description}
\begin{Usage}
\begin{verbatim}
standard(x)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{x}] the data vector to be standardized 
\end{ldescription}
\end{Arguments}
\begin{Value}
returns the standardized version of x
\end{Value}
\begin{Author}\relax
Kevin Rader
\end{Author}
\begin{References}\relax
Silverman, B.W. (1981). Using Kernel Density Estimates to Investigate Multimodality. J. Royal Statistical Society B, 43, 97-99.
\end{References}
\begin{SeeAlso}\relax
\code{\LinkA{get.h}{get.h}}, \code{\LinkA{get.p}{get.p}}, \code{\LinkA{emp.f}{emp.f}}, \code{\LinkA{get.num.modes}{get.num.modes}}
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
 set.seed(12345)
 x<-rnorm(50,2,3)
 x1<-standard(x)
 c(median(x1),mad(x1))
\end{ExampleCode}
\end{Examples}

