powered by
Helper Function for Computing E(PFS^2)
expvalPFSInteg(x, transition)
Numeric results of the integrand used to calculate E(PFS^2).
(numeric) variable of integration.
numeric
(TransitionParameters) see exponential_transition(), weibull_transition() or piecewise_exponential() for details.
TransitionParameters
exponential_transition()
weibull_transition()
piecewise_exponential()
transition <- exponential_transition(h01 = 1.2, h02 = 1.5, h12 = 1.6) expvalPFSInteg(0.4, transition)
Run the code above in your browser using DataLab