Gumbel | R Documentation |
Density, distribution function, quantile function and random generation for the Gumbel distribution with
specified location
and scale
parameters.
dgumbel(x, location = 0, scale = 1)
pgumbel(q, location=0, scale=1, lower.tail=TRUE)
qgumbel(p, location=0, scale=1, lower.tail=TRUE)
rgumbel(n, location=0, scale=1)
x, q |
vector of quantiles (values of the variable). |
p |
vector of probabilities. |
n |
number of observations. If |
location |
location parameter (default |
scale |
scale parameter (default |
lower.tail |
logical; if |
John Fox jfox@mcmaster.ca
See https://en.wikipedia.org/wiki/Gumbel_distribution for details of the Gumbel distribution.
x <- 100 + 5*c(-Inf, -1, 0, 1, 2, 3, Inf, NA)
dgumbel(x, 100, 5)
pgumbel(x, 100, 5)
p <- c(0, .25, .5, .75, 1, NA)
qgumbel(p, 100, 5)
summary(rgumbel(1e5, 100, 5))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.