Description Usage Arguments Value
Calculate the survivor function S(t) from a piecewise exponential model.
1 |
time |
Time-point at which survivor fct is evaluated, S(time) = exp(-H(time)). |
cut.pts |
Vector of cut points. |
haz.rates |
Vector of hazard rates (must have one element more than the cut.pts vector). |
numeric
estimate of survivor function at time t, S(t)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.