OS Survival Function from Piecewise Constant Hazards
PWCsurvOS(t, h01, h02, h12, pw01, pw02, pw12)
(numeric
)
study time-points.
(numeric vector
)
constant transition hazards for 0 to 1 transition.
(numeric vector
)
constant transition hazards for 0 to 2 transition.
(numeric vector
)
constant transition hazards for 1 to 2 transition.
(numeric vector
)
time intervals for the piecewise constant hazards h01
.
(numeric vector
)
time intervals for the piecewise constant hazards h02
.
(numeric vector
)
time intervals for the piecewise constant hazards h12
.
This returns the value of OS survival function at time t.