setEventTimes | R Documentation |
This function creates a sorted vector of event times for a pair. This function is used in all pairwise functions.
setEventTimes(m, delta0, delta1, time0, time1, follow)
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). |
A sorted vector of event times (days) for a given pair.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.