Method for obtaining the hazard function of a dfr_dist object.
Source: R/dfr_dist.R
cum_haz.dfr_dist.RdMethod for obtaining the hazard function of a dfr_dist object.
Usage
# S3 method for dfr_dist
cum_haz(x, ...)Arguments
- x
The object to obtain the hazard function of.
- ...
Additional arguments to pass into the
integratefunction.
Value
A function that computes the hazard function of the distribution.
It accepts t, the time at which to compute the hazard function, and
par, the parameters of the distribution. If par is NULL, then the
parameters of the dfr_dist object x are used. Finally, it passes any
additional arguments ... to the rate function of the dfr_dist
object x.