PWCsurvOS {simIDM} | R Documentation |
OS Survival Function from Piecewise Constant Hazards
Description
OS Survival Function from Piecewise Constant Hazards
Usage
PWCsurvOS(t, h01, h02, h12, pw01, pw02, pw12)
Arguments
t |
( |
h01 |
( |
h02 |
( |
h12 |
( |
pw01 |
( |
pw02 |
( |
pw12 |
( |
Value
This returns the value of OS survival function at time t.
Examples
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))
[Package simIDM version 0.1.0 Index]