Density, distribution function, quantile function and random generation
for the asymmetric Laplace distribution with location mu
,
scale sigma
and asymmetry parameter quantile
.
dasym_laplace(x, mu = 0, sigma = 1, quantile = 0.5, log = FALSE)pasym_laplace(q, mu = 0, sigma = 1, quantile = 0.5,
lower.tail = TRUE, log.p = FALSE)
qasym_laplace(p, mu = 0, sigma = 1, quantile = 0.5,
lower.tail = TRUE, log.p = FALSE)
rasym_laplace(n, mu = 0, sigma = 1, quantile = 0.5)
Vector of quantiles.
Vector of locations.
Vector of scales.
Asymmetry parameter corresponding to quantiles in quantile regression (hence the name).
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 samples to draw from the distribution.
See vignette("brms_families")
for details
on the parameterization.