Helper Function for Computing E(PFS^2)
Arguments
- x
(
numeric
)
variable of integration.- transition
(
TransitionParameters
)
seeexponential_transition()
,weibull_transition()
orpiecewise_exponential()
for details.
Examples
transition <- exponential_transition(h01 = 1.2, h02 = 1.5, h12 = 1.6)
expvalPFSInteg(0.4, transition)
#> [1] 0.1358382