Generic method for obtaining the hazard function of an object.

hazard(x, ...)

Arguments

x

The object to obtain the hazard function of.

...

Additional arguments to pass.