setKM | R Documentation |
This function creates the time_km and delta_km matrices used for wintime::km().
setKM(n, m, time, delta)
n |
The total number of trial participants. |
m |
The number of events in the hierarchy. |
time |
The row reversal of the Time matrix (days) (created inside wintime::km()). |
delta |
The row reversal of the Delta matrix (created inside wintime::km()). |
A list containing the event time matrix and the event indicator matrix used in wintime::km().
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.