Survival Function of the Product PFS*OS for Different Transition Models
Source:R/corPFSOS.R
survPFSOS.RdSurvival Function of the Product PFS*OS for Different Transition Models
Arguments
- t
(
numeric)
time at which the value of the PFS*OS survival function is to be computed.- transition
(
TransitionParameters)
seeexponential_transition(),weibull_transition()orpiecewise_exponential()for details.
Examples
transition <- exponential_transition(h01 = 1.2, h02 = 1.5, h12 = 1.6)
survPFSOS(0.4, transition)
#> [1] 0.2480364