Quantile Summaries
Return quantile summary (minimum, quantiles, maximum) for the input data.
midpoints(x, n = 1, na.rm = TRUE)
x |
numeric, maybe including |
n |
positive integer, to determine which quantiles to calculate.
return values are 2 ^ n + 1 number summary.
|
na.rm |
logical value indicating whether |
This function is calling midpoint
with n
depth.
A numeric vector of length 2 ^ n + 1 containing the summary information.
Shinichiro Tomizono
Quantiles: median, quartiles, octiles, hexadeciles, ... http://tomizonor.wordpress.com/2013/04/28/quantiles-octiles/
midpoints(1:100, 4) midpoints(c(rnorm(100), -Inf, Inf), 3) # define 33 number summary thirtythreenum <- function(x, ...) midpoints(x, 5, ...) thirtythreenum(1:100)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.