Density, distribution function, quantile function, and random generation for the inverted Gumbel distribution.
dinvgumbel(x, location = 0, scale = 1, log = FALSE)
pinvgumbel(q, location = 0, scale = 1, log.p = FALSE, lower.tail = TRUE)
qinvgumbel(p, location = 0, scale = 1, log.p = FALSE, lower.tail = TRUE)
rinvgumbel(n, location = 0, scale = 1)Numeric vector of quantiles.
Numeric location parameter.
Numeric scale parameter.
Logical. If TRUE, dinvgumbel() returns log-densities.
Numeric vector of quantiles.
Logical. If TRUE, probabilities are supplied or returned on
the log scale.
Logical. If TRUE, probabilities are \(P[X \le x]\);
otherwise, \(P[X > x]\).
Numeric vector of probabilities.
Number of observations.
dinvgumbel() returns a numeric vector of density values.
pinvgumbel() returns a numeric vector of probabilities.
qinvgumbel() returns a numeric vector of quantiles.
rinvgumbel() returns a numeric vector of random draws.
Version 1.0.0.
Other distributions:
desscher(),
desscherMixture(),
dgumbel(),
dkumaraswamy(),
dmixnorm(),
dsnorm(),
dsolarGHI(),
dsolarK(),
dsolarX(),
dsugeno(),
dtnorm()
dinvgumbel(c(-1, 0, 1), location = 0, scale = 1)
#> [1] 0.2546464 0.3678794 0.1793741
pinvgumbel(c(-1, 0, 1), location = 0, scale = 1)
#> [1] 0.3077994 0.6321206 0.9340120
qinvgumbel(c(0.25, 0.75), location = 0, scale = 1)
#> [1] -1.2458993 0.3266343
set.seed(1)
rinvgumbel(3, location = 0, scale = 1)
#> [1] 0.28224819 -0.01153789 -0.58496474