Last chance! 50% off unlimited learning
Sale ends in
hweibull
calculates the hazard function of a Weibull
distribution, and Hweibull
calculates the corresponding
cumulative hazard function.
hweibull(x, shape, scale = 1, log = FALSE)
Hweibull(x, shape, scale = 1, log = FALSE)
Vector of quantiles.
The shape parameter.
The scale parameter, defaults to 1.
logical; if TRUE, the log of the hazard function is given.
The (cumulative) hazard function, evaluated at x.
See dweibull.
# NOT RUN {
hweibull(3, 2, 1)
dweibull(3, 2, 1) / pweibull(3, 2, 1, lower.tail = FALSE)
Hweibull(3, 2, 1)
-pweibull(3, 2, 1, log.p = TRUE, lower.tail = FALSE)
# }
Run the code above in your browser using DataLab