View source: R/survivalFunctions.R
pwA | R Documentation |
Cumulative Hazard for Piecewise Constant Hazards
pwA(t, haz, pw)
t |
( |
haz |
( |
pw |
( |
This returns the value of cumulative hazard at time t.
pwA(1:5, c(0.5, 0.9), c(0, 4))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.