\Header{median}{Median Value}
\keyword{univar}{median}
\keyword{robust}{median}
\begin{Usage}
\begin{verbatim}
median(x, na.rm=FALSE)
\end{verbatim}
\end{Usage}
\begin{Description}
\texttt{median}
computes the sample median of the vector of values given as its argument.
If \texttt{na.rm} is \texttt{TRUE} then \texttt{NA} values are deleted
before computation proceeds.\end{Description}
\begin{SeeAlso}
\texttt{\Link{quantile}} for general quantiles.\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
median(1:4)# = 2.5 [even number]
median(c(1:3,100,1000))# = 3 [odd, robust]
\end{ExampleCode}
\end{Examples}

