Cumulative Hazard for Piecewise Constant Hazards
pwA(t, haz, pw)
(numeric
)
study time-points.
(numeric vector
)
constant transition hazards.
(numeric vector
)
time intervals for the piecewise constant hazards.
This returns the value of cumulative hazard at time t.