Mid-range
Compute the mid-range of a numeric vector x
,
defined as the mean of the minimum and the maximum.
midrange(x, na_rm = FALSE)
x |
numeric. A numeric vector. |
na_rm |
logical. Should missing values be removed before computing the mid-range? |
A numeric value, the mid-range.
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.