[ top | up ]

Median Value

Syntax

median(x, na.rm=FALSE)

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.