sevenNS {MKdescr} | R Documentation |
Seven-Number Summaries
Description
Function to compute seven-number summaries (minimum, 1st octile, 1st quartile, median, 3rd quartile, 7th octile, maximum)
Usage
sevenNS(x, na.rm = TRUE, type = 7)
Arguments
x |
numeric vector |
na.rm |
logical; remove |
type |
an integer between 1 and 9 selecting one of nine quantile
algorithms; for more details see |
Details
In contrast to Tukey (1977) who proposes hinges and eighths,
we use function quantile
.
Value
A numeric vector of length 7 containing the summary information.
Author(s)
Matthias Kohl Matthias.Kohl@stamats.de
References
Tukey, J.W. (1977). Exploratory Data Analysis. Section 2G.
See Also
Examples
x <- rnorm(100)
sevenNS(x)
sevenNS(x, type = 2)
[Package MKdescr version 0.8 Index]