Description Usage Arguments Value Author(s) References
Format observed data for Andersen-Gill method
1 | format_data_AG(X, delta, Z_star)
|
X |
vector containing observed time to terminating event |
delta |
vector that is 1 if terminating event is observed and 0 if patient is censored |
Z_star |
FILL IN |
A list
object which contains
ID - Patient ID
T_start - start time
T_stop - Stop time
status - status indicator: 1 if event occured, 0 if censored
Nabihah Tayob
Tayob, N. and Murray, S., 2014. Nonparametric tests of treatment effect based on combined endpoints for mortality and recurrent events. Biostatistics, 16(1), pp.73-83.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.