Calculate piecewise hazards, no. of events, and exposure times in each interval indicated by cutpoints.
piecewise(enter, exit, event, cutpoints)
A list with components
Vector of number of events
Vector of total exposure time
Vector of hazards, intensity
==
events
/ exposure
Left interval endpoint
Right interval endpoint
Indicator of event
Vector of cutpoints
Göran Broström
Exact calculation.
perstat