PFS Survival Function from Weibull Transition Hazards
WeibSurvPFS(t, h01, h02, p01, p02)
(numeric
)
study time-points.
(positive number
)
transition hazard for 0 to 1 transition.
(positive number
)
transition hazard for 0 to 2 transition.
(positive number
)
rate parameter of Weibull distribution for h01
.
(positive number
)
rate parameter of Weibull distribution for h02
.
This returns the value of PFS survival function at time t.
WeibSurvPFS(c(1:5), 0.2, 0.5, 1.2, 0.9)
#> [1] 0.49658530 0.24845033 0.12351703 0.06101061 0.02995439