Density, distribution function, quantile function and random generation
for the shifted log normal distribution with mean meanlog
,
standard deviation sdlog
, and shift parameter shift
.
dshifted_lnorm(x, meanlog = 0, sdlog = 1, shift = 0, log = FALSE)
pshifted_lnorm(
q,
meanlog = 0,
sdlog = 1,
shift = 0,
lower.tail = TRUE,
log.p = FALSE
)
qshifted_lnorm(
p,
meanlog = 0,
sdlog = 1,
shift = 0,
lower.tail = TRUE,
log.p = FALSE
)
rshifted_lnorm(n, meanlog = 0, sdlog = 1, shift = 0)
Vector of quantiles.
Vector of means.
Vector of standard deviations.
Vector of shifts.
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.