Density, distribution function, and random generation
for the generalized extreme value distribution with
location mu
, scale sigma
and shape xi
.
dgen_extreme_value(x, mu = 0, sigma = 1, xi = 0, log = FALSE)
pgen_extreme_value(
q,
mu = 0,
sigma = 1,
xi = 0,
lower.tail = TRUE,
log.p = FALSE
)
qgen_extreme_value(
p,
mu = 0,
sigma = 1,
xi = 0,
lower.tail = TRUE,
log.p = FALSE
)
rgen_extreme_value(n, mu = 0, sigma = 1, xi = 0)
Vector of quantiles.
Vector of locations.
Vector of scales.
Vector of shapes.
Logical; If TRUE
, values are returned on the log scale.
Logical; If TRUE
(default), return P(X <= x).
Else, return P(X > x) .
Logical; If TRUE
, values are returned on the log scale.
Vector of probabilities.
Number of draws to sample from the distribution.
See vignette("brms_families")
for details
on the parameterization.