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