Helper Function of PWCsurvOS()
PwcOSInt(x, h01, h02, h12, pw01, pw02, pw12)
(numeric
)
variable of integration.
(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
.
Numeric results of the integrand used to calculate
the OS survival function for piecewise constant transition hazards, see PWCsurvOS
.