Density, distribution function, and random generation
for the inverse Gaussian distribution with location mu
,
and shape shape
.
dinv_gaussian(x, mu = 1, shape = 1, log = FALSE)pinv_gaussian(q, mu = 1, shape = 1, lower.tail = TRUE,
log.p = FALSE)
rinv_gaussian(n, mu = 1, shape = 1)
Vector of quantiles.
Vector of locations.
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.
Number of samples to draw from the distribution.
See vignette("brms_families")
for details
on the parameterization.