powered by
Returns a function that evaluates the log-normal hazard rate \(h(t) = f(t) / S(t)\) for \(t > 0\).
# S3 method for lognormal hazard(x, ...)
A function function(t, log = FALSE) returning the hazard (or log-hazard) at t.
function(t, log = FALSE)
t
A lognormal object.
lognormal
Additional arguments (not used).
x <- lognormal(0, 1) h <- hazard(x) h(1) h(2)
Run the code above in your browser using DataLab