Piecewise hazards
Calculate piecewise hazards, no. of events, and exposure times in each interval indicated by cutpoints.
piecewise(enter, exit, event, cutpoints)
enter |
Left interval endpoint |
exit |
Right interval endpoint |
event |
Indicator of event |
cutpoints |
Vector of cutpoints |
Exact calculation.
A list with components
events |
Vector of number of events |
exposure |
Vector of total exposure time |
intensity |
Vector of hazards, |
Göran Broström
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.