midpoints {elliplot} | R Documentation |
Quantile Summaries
Description
Return quantile summary (minimum, quantiles, maximum) for the input data.
Usage
midpoints(x, n = 1, na.rm = TRUE)
Arguments
x |
numeric, maybe including |
n |
positive integer, to determine which quantiles to calculate.
return values are |
na.rm |
logical value indicating whether |
Details
This function is calling midpoint
with n
depth.
Value
A numeric vector of length 2 ^ n + 1
containing the summary information.
Author(s)
Shinichiro Tomizono
References
Quantiles: median, quartiles, octiles, hexadeciles, ... https://tomizonor.wordpress.com/2013/04/28/quantiles-octiles/
See Also
midpoint
,
seventeennum
,
ninenum
,
fivenum
,
median
.
Examples
midpoints(1:100, 4)
midpoints(c(rnorm(100), -Inf, Inf), 3)
# define 33 number summary
thirtythreenum <- function(x, ...) midpoints(x, 5, ...)
thirtythreenum(1:100)