Win time difference
getWintimeIntegral(m, etimes, time0, time1, delta0, delta1)
The win time difference integral.
The number of events in the hierarchy.
A sorted vector of event times (days) (returned from wintime::setEventTimes()).
A vector containing the control person's event times (days).
A vector containing the treatment person's event times (days).
A vector containing the control person's event indicators.
A vector containing the treatment person's event indicators.
This function calculates the win time difference integral for a single pair. This function is used in all pairwise win time methods.