Lognormal {eha} | R Documentation |
Hazard function and
cumulative hazard function for the Lognormal distribution with
parameters shape
and scale
.
hlnorm(x, meanlog = 0, sdlog = 1, shape = 1 / sdlog, scale = exp(meanlog), log = FALSE) Hlnorm(x, meanlog = 0, sdlog = 1, shape = 1 / sdlog, scale = exp(meanlog), log.p = FALSE)
x |
vector of quantiles. |
meanlog, sdlog |
Mean and standard deviation in the distribution of the logarithm of a lognormal random variable. |
shape, scale |
shape and scale parameters, both defaulting to 1. |
log, log.p |
logical; if TRUE, probabilities p are given as log(p). |
This is a complement to the Lognormal distribution, see
Lognormal
for further details.
hlnorm
gives the hazard function, and
Hlnorm
gives the cumulative hazard function.
Invalid arguments will result in return value NaN
, with a warning.