Description
Compute the midhinge of a numeric vector x
,
defined as the average of the first and third quartiles.
Usage
midhinge(x, na_rm = FALSE, ...)
Arguments
x
numeric. A numeric vector.
na_rm
logical. Should missing values be removed before computing the midhinge?
...
Additional arguments to be passed to quantile()
.
Value
A numeric value, the midhinge.