OS Survival Function from Weibull Transition Hazards
Arguments
- t
(
numeric)
study time-points.- h01
(positive
number)
transition hazard for 0 to 1 transition.- h02
(positive
number)
transition hazard for 0 to 2 transition.- h12
(positive
number)
transition hazard for 1 to 2 transition.- p01
(positive
number)
rate parameter of Weibull distribution forh01.- p02
(positive
number)
rate parameter of Weibull distribution forh02.- p12
(positive
number)
rate parameter of Weibull distribution forh12.
Examples
WeibSurvOS(c(1:5), 0.2, 0.5, 2.1, 1.2, 0.9, 1)
#> [1] 0.55296799 0.29049137 0.14798085 0.07421549 0.03684786