shape
and scale
.hlnorm(x, meanlog = 0, sdlog = 1,
shape = 1 / sdlog, scale = exp(meanlog), prop = 1, log = FALSE)
Hlnorm(x, meanlog = 0, sdlog = 1,
shape = 1 / sdlog, scale = exp(meanlog), prop = 1, log.p = FALSE)
hlnorm
gives the hazard function, and
Hlnorm
gives the cumulative hazard function.Invalid arguments will result in return value NaN
, with a warning.
Lognormal
for further details.From eha version 2.3-0, the lognormal distribution is extended to a three-parameter family of distributions. The third parameter, 'prop', is a 'proportional hazards' parameter, simply multiplying the hazard function by its value. For now only implemented in the hazard and cumulative hazards functions, but it will be introduced fully soon. Probably as a class of distributions with a new name.
phreg
, aftreg
.