getWintimeIntegral {wintime} | R Documentation |
Helper functions for package functions
Description
Win time difference
Usage
getWintimeIntegral(m, etimes, time0, time1, delta0, delta1)
Arguments
m |
The number of events in the hierarchy. |
etimes |
A sorted vector of event times (days) (returned from wintime::setEventTimes()). |
time0 |
A vector containing the control person's event times (days). |
time1 |
A vector containing the treatment person's event times (days). |
delta0 |
A vector containing the control person's event indicators. |
delta1 |
A vector containing the treatment person's event indicators. |
Details
This function calculates the win time difference integral for a single pair. This function is used in all pairwise win time methods.
Value
The win time difference integral.
[Package wintime version 0.3.0 Index]