illustrate.quantile | R Documentation |
Function to illustrate the computation of quantiles.
illustrate.quantile(x, alpha, type)
x |
numeric vector |
alpha |
numeric value in the interval (0,1). |
type |
integer values between 1 and 9 selecting one or several of
nine quantile algorithms; for more details see
|
The function visualizes the computation of alpha-quantiles.
An invisible object of class ggplot
.
Matthias Kohl Matthias.Kohl@stamats.de
quantile
x <- 1:10 illustrate.quantile(x, alpha = 0.15) illustrate.quantile(x, alpha = 0.5) illustrate.quantile(x, alpha = 0.8, type = 2) illustrate.quantile(x, alpha = 0.8, type = c(2, 7)) illustrate.quantile(x = rnorm(20), alpha = 0.95) illustrate.quantile(x = rnorm(21), alpha = 0.95)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.