Helper Function for WeibSurvOS()
WeibOSInteg(x, h01, h02, h12, p01, p02, p12)
(numeric
)
variable of integration.
(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
.
Numeric results of the integrand used to calculate
the OS survival function for Weibull transition hazards, see WeibSurvOS()
.
WeibOSInteg(1:5, 0.2, 0.5, 2.1, 1.2, 0.9, 1)
#> [1] 4.05520 19.03191 83.79273 358.00660 1500.88185