View source: R/survivalFunctions.R
PWCsurvOS | R Documentation |
OS Survival Function from Piecewise Constant Hazards
PWCsurvOS(t, h01, h02, h12, pw01, pw02, pw12)
t |
( |
h01 |
( |
h02 |
( |
h12 |
( |
pw01 |
( |
pw02 |
( |
pw12 |
( |
This returns the value of OS survival function at time t.
PWCsurvOS(1:5, c(0.3, 0.5), c(0.5, 0.8), c(0.7, 1), c(0, 4), c(0, 8), c(0, 3))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.