piecewise: Piecewise hazards
Description
Calculate piecewise hazards, no. of events, and exposure times in each
interval indicated by cutpoints.
Usage
piecewise(enter, exit, event, cutpoints)
Value
A list with components
eventsVector of number of events
exposureVector of total
exposure time
intensityVector of hazards, intensity
==
events
/ exposure
Details
Exact calculation.