OS Survival Function from Weibull Transition Hazards
WeibSurvOS(t, h01, h02, h12, p01, p02, p12)
(numeric
)
study time-points.
(positive number
)
transition hazard for 0 to 1 transition.
(positive number
)
transition hazard for 0 to 2 transition.
(positive number
)
transition hazard for 1 to 2 transition.
(positive number
)
rate parameter of Weibull distribution for h01
.
(positive number
)
rate parameter of Weibull distribution for h02
.
(positive number
)
rate parameter of Weibull distribution for h12
.
This returns the value of OS survival function at time t.
WeibSurvOS(c(1:5), 0.2, 0.5, 2.1, 1.2, 0.9, 1)
#> [1] 0.55296798 0.29049135 0.14798080 0.07421549 0.03684786