Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

ninenum

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, ... http://tomizonor.wordpress.com/2013/04/28/quantiles-octiles/

See Also

Examples

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

elliplot

Ellipse Summary Plot of Quantiles

v1.2.0
MIT + file LICENSE
Authors
Shinichiro Tomizono
Initial release
2018-06-08

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.