View source: R/survivalFunctions.R
WeibSurvOS | R Documentation |
OS Survival Function from Weibull Transition Hazards
WeibSurvOS(t, h01, h02, h12, p01, p02, p12)
t |
( |
h01 |
(positive |
h02 |
(positive |
h12 |
(positive |
p01 |
(positive |
p02 |
(positive |
p12 |
(positive |
This returns the value of OS survival function at time t.
WeibSurvOS(c(1:5), 0.2, 0.5, 2.1, 1.2, 0.9, 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.