This returns the sum of two piecewise constant hazards per interval.
Arguments
- haz1
(numeric
)
first summand (piecewise constant hazard).
- haz2
(numeric
)
second summand (piecewise constant hazard).
- pw1
(numeric
)
time intervals of first summand.
- pw2
(numeric
)
time intervals of second summand.
Value
List with elements hazards
and intervals
for the sum of two piecewise constant hazards.