midhinge: Midhinge

Description Usage Arguments Value References

View source: R/midhinge.R

Description

Compute the midhinge of a numeric vector x, defined as the average of the first and third quartiles.

Usage

1
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.

References

https://en.wikipedia.org/wiki/Midhinge.


statip documentation built on Nov. 18, 2019, 1:06 a.m.