View source: R/piecewiseHazards.R
getSumPCW | R Documentation |
This returns the sum of two piecewise constant hazards per interval.
getSumPCW(haz1, haz2, pw1, pw2)
haz1 |
( |
haz2 |
( |
pw1 |
( |
pw2 |
( |
List with elements hazards
and intervals
for the sum of two piecewise constant hazards.
getSumPCW(c(1.2, 0.3, 0.6), c(1.2, 0.7, 1), c(0, 8, 9), c(0, 1, 4))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.