powered by
This returns piecewise constant hazard values at specified time points.
getPWCHazard(haz, pw, x)
Hazard values at input time-points.
(numeric) piecewise constant input hazard.
numeric
(numeric) time intervals for the piecewise constant hazard.
(numeric) time-points.
getPWCHazard(c(1, 1.2, 1.4), c(0, 2, 3), c(1, 4, 6))
Run the code above in your browser using DataLab