Density, distribution function, quantile function and random generation
for the Frechet distribution with location loc
, scale scale
,
and shape shape
.
dfrechet(x, loc = 0, scale = 1, shape = 1, log = FALSE)
pfrechet(q, loc = 0, scale = 1, shape = 1, lower.tail = TRUE, log.p = FALSE)
qfrechet(p, loc = 0, scale = 1, shape = 1, lower.tail = TRUE, log.p = FALSE)
rfrechet(n, loc = 0, scale = 1, shape = 1)
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.