\Header{sd}{Standard Deviation}
\keyword{univar}{sd}
\begin{Description}\relax
This function computes the standard deviation of the values in
\code{x}.
If \code{na.rm} is \code{TRUE} then missing values are removed before
computation proceeds.
If \code{x} is a matrix or a dataframe, a vector of the standard
deviation of the columns is returned.\end{Description}
\begin{Usage}
\begin{verbatim}
sd(x, na.rm = FALSE)
\end{verbatim}
\end{Usage}
\begin{SeeAlso}\relax
\code{\Link{var}} for its square, and \code{\Link{mad}}, the most
robust alternative.\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
sd(1:2) ^ 2
\end{ExampleCode}
\end{Examples}

