shape1, shape2
and scale.dmakeham(x, shape = c(1, 1), scale = 1, log = FALSE)
pmakeham(q, shape = c(1, 1), scale = 1, lower.tail = TRUE, log.p = FALSE)
qmakeham(p, shape = c(1, 1), scale = 1, lower.tail = TRUE, log.p = FALSE)
hmakeham(x, shape = c(1, 1), scale = 1, log = FALSE)
Hmakeham(x, shape = c(1, 1), scale = 1, log.p = FALSE)
rmakeham(n, shape = c(1, 1), scale = 1)length(n) > 1, the length
is taken to be the number required.dmakeham gives the density,
pmakeham gives the distribution function,
qmakeham gives the quantile function, but is not yet implemented,
hmakeham gives the hazard function,
Hmakeham gives the cumulative hazard function, and
rmakeham generates random deviates. Invalid arguments will result in return value NaN, with a warning.
shape parameters
$a_1$ and $a_2$ and
scale parameter $\sigma$ has hazard function given by
$$h(x) = a_2 + a_1 \exp(x / \sigma)$$
for $x \ge 0$.