setEventTimes {wintime} | R Documentation |
Created a sorted vector of event times
Description
This function creates a sorted vector of event times for a pair. This function is used in all pairwise functions.
Usage
setEventTimes(m, delta0, delta1, time0, time1, follow)
Arguments
m |
The number of events in the hierarchy. |
delta0 |
A vector of event indicators for the control person. |
delta1 |
A vector of event indicators for the treatment person. |
time0 |
A vector of event times (days) for the control person. |
time1 |
A vector of event times (days) for the treatment person. |
follow |
The maximum follow up time (days). |
Value
A sorted vector of event times (days) for a given pair.
[Package wintime version 0.3.0 Index]