| ms_surv | R Documentation |
Evaluates the distribution of progression-free survival or overall
survival implied by an ms_model, without dropout.
ms_surv(model, time, endpoint = c("os", "pfs"))
model |
An |
time |
Times since randomization (nonnegative). |
endpoint |
|
PFS has the hazard prog + death. OS combines death before
progression with death after progression, with or without switch; its
hazard is not piecewise constant when prog is positive. With a
switch before progression (switch_pre), PFS is the time to
progression or death whatever pfs_switch of
ms_scenario, and its hazard is not piecewise constant.
A data frame with time, the survival function
surv, the hazard haz (NA where surv is 0)
and the density dens.
ms_model, ms_prob
m <- ms_fleischer(median_pfs = 6, median_os = 15)
ms_surv(m, time = c(6, 15), endpoint = "os")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.