PWT | R Documentation |
This function calculates the sum of each pair's win time difference divided by the total number of pairs.
PWT(n, n0, n1, m, Time, Delta, tg, tau)
n |
The total number of trial participants. |
n0 |
The number of control arm patients. |
n1 |
The number of treatment arm patients. |
m |
The number of events in the hierarchy. |
Time |
A m x n matrix of event time (days). Rows should represent events and columns should represent participants. Event rows should be in increasing order of clinical severity. |
Delta |
A m x n matrix of event indicators. Rows should represent events and columns should represent participants. Event rows should be in increasing order of clinical severity. |
tg |
A numeric vector containing treatment arm indicators (1 for treatment, 0 for control). |
tau |
The maximum follow up time (days). |
The pairwise win time.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.