Method for obtaining the hazard function of a dfr_dist object.
Source: R/dfr_dist.R
hazard.dfr_dist.RdMethod for obtaining the hazard function of a dfr_dist object.
Usage
# S3 method for class 'dfr_dist'
hazard(x, ...)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. It also
accepts a log argument that determines whether to compute the log of
the hazard function. Finally, it passes any additional arguments to the
rate function of the dfr_dist object x.