Skip to contents

Survival Function of the Product PFS*OS for Different Transition Models

Usage

survPFSOS(t, transition)

Arguments

t

(numeric)
time at which the value of the PFS*OS survival function is to be computed.

transition

(TransitionParameters)
see exponential_transition(), weibull_transition() or piecewise_exponential() for details.

Value

This returns the value of PFS*OS survival function at time t.

Examples

transition <- exponential_transition(h01 = 1.2, h02 = 1.5, h12 = 1.6)
survPFSOS(0.4, transition)
#> [1] 0.2480364