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