
Distribution dispatchers for the six reliability families
Source:R/distributions.R
distribution_dispatchers.RdUnified density, random-number, and distribution-function interfaces for the
six positive-support families supported by the package: Weibull, Frechet,
Gamma, Inverse-Gamma, Log-Normal, and Log-Logistic. The two-parameter vector
theta = c(par1, par2) is interpreted as (shape, scale) for all
families except Log-Normal, where it is (meanlog, sdlog).
Arguments
- x, q
Numeric vector of quantiles (positive support).
- dist
Character; one of
"Weibull","Frechet","Gamma","InvGamma","LogNormal","LogLogistic".- theta
Numeric length-2 parameter vector (see Details).
- log
Logical; if
TRUE(default)ldistreturns log-density.- n
Integer; number of random values to draw.