med | R Documentation |
The function computes the median of a vector. Unlike median
, it is guaranteed to
return a value which is a component of the input vector.
med(x)
x |
a vector |
a scalar defined as quantile(x, .5, type=3)[[1]]
Piotr Fryzlewicz
med(1:4) median(1:4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.