evalTerminal | R Documentation |
returns X(min(D,t)) and min(D,t) and their ratio. for censored observation 0. to use with the IPCW models implemented.
evalTerminal(formula, data = data, death.code = 2, time = NULL)
formula |
formula with 'Event' outcome and X to evaluate at min(D,t) |
data |
data frame |
death.code |
codes for death (terminating event, 2 default) |
time |
for evaluation |
Thomas Scheike
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.