Learn R Programming

elliplot (version 1.3.0)

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.

Value

A numeric vector of length 9 containing the summary information.

Details

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

References

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

See Also

midpoints, seventeennum, fivenum, median.

Examples

Run this code
# NOT RUN {
ninenum(1:100)
ninenum(c(rnorm(100), -Inf, Inf))
# }

Run the code above in your browser using DataLab