| Gumbel | R Documentation |
The Gumbel Distribution
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 |
vector of values of the variable. |
location |
location parameter (default |
scale |
scale parameter (default |
q |
vector of quantiles. |
lower.tail |
logical; if |
p |
vector of probabilities. |
n |
number of observations. If |
Density, distribution function, quantile function and random generation for the Gumbel distribution with specified location and scale parameters.
John Fox
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.