This help topic is for R version 0.60. For the current version of R, try https://stat.ethz.ch/R-manual/R-patched/library/base/html/median.html
median {base}R Documentation

Median Value

Description

median computes the sample median of the vector of values given as its argument. If na.rm is TRUE then NA values are deleted before computation proceeds.

Usage

median(x, na.rm=FALSE)

[Package base version 0.60 ]