Description Usage Arguments Value
Calculate the cumulative hazard over [0, tmax] from piecewise constant model.
1 |
time |
Time-point at which cumulative hazard evaluated, H(time) = int_0^time h(u) du. |
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 the hazard over [0, tmax]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.