pgompmake | R Documentation |
Distribution function of the Gompertz-Makeham distribution
Quantile function of the Gompertz-Makeham distribution
Density function of the Gompertz-Makeham distribution
Hazard function of the Gompertz-Makeham distribution
pgompmake(
q,
scale = 1,
shape = 0,
lambda = 0,
lower.tail = TRUE,
log.p = FALSE
)
qgompmake(p, scale = 1, shape = 0, lambda = 0, lower.tail = TRUE)
dgompmake(x, scale = 1, shape = 0, lambda = 0, log = FALSE)
hgompmake(x, scale = 1, shape = 0, lambda = 0, log = FALSE)
q |
vector of quantiles. |
scale |
scale parameter, strictly positive. |
shape |
shape parameter. |
lambda |
exponential rate |
lower.tail |
logical; if |
log.p |
logical; if |
p |
vector of probabilities. |
x |
vector of quantiles. |
log |
logical; if |
a vector of (log)-probabilities of the same length as q
a vector of quantiles
a vector of density
a vector of (log)-hazard.
The quantile function is defined in terms of Lambert's W function. Particular parameter combinations (small values of lambda
lead to numerical overflow; the function throws a warning when this happens.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.