| example_rct {landest} | R Documentation |
Hypothetical data from a randomized trial
Description
Hypothetical data from a randomized trial to be used in examples.
Usage
data(example_rct)
Format
A data frame with 3000 observations on the following 6 variables.
TLthe observed event or censoring time for the primary outcome, equal to min(T, C) where T is the time of the primary outcome and C is the censoring time.
DLthe indicator telling whether the individual was observed to have the event or was censored, equal to 1*(T<C) where T is the time of the primary outcome and C is the censoring time.
TSthe observed event or censoring time for the intermediate event, equal to min(TS, C) where TS is the time of the intermediate event and C is the censoring time.
DSthe indicator telling whether the individual was observed to have the intermediate event or was censored, equal to 1*(TS<C) where TS is the time of the primary outcome and C is the censoring time.
Za baseline covariate vector
treattreatment indicator
Examples
data(example_rct)
names(example_rct)