This function creates the time_km and delta_km matrices used for wintime::km().
setKM(n, m, time, delta)
A list containing the event time matrix and the event indicator matrix used in wintime::km().
The total number of trial participants.
The number of events in the hierarchy.
The row reversal of the Time matrix (days) (created inside wintime::km()).
The row reversal of the Delta matrix (created inside wintime::km()).