ninenum {elliplot}R Documentation

Nine Number Summaries

Description

Return nine number summary (minimum, 1st-3rd octiles, median, 5th-7th octiles, maximum) for the input data.

Usage

ninenum(x, na.rm=TRUE)

Arguments

x

numeric, maybe including NAs and +/-Infs.

na.rm

logical value indicating whether NAs should be stripped before the computation proceeds.

Details

This function is similar to fivenum. This returns octiles instead of quartiles of the fivenum.

Value

A numeric vector of length 9 containing the summary information.

Note

Internally calling midpoints with n=3.

Author(s)

Shinichiro Tomizono

References

Quantiles: median, quartiles, octiles, hexadeciles, ... https://tomizonor.wordpress.com/2013/04/28/quantiles-octiles/

See Also

midpoints, seventeennum, fivenum, median.

Examples

ninenum(1:100)
ninenum(c(rnorm(100), -Inf, Inf))

[Package elliplot version 1.3.0 Index]