sim_timevary_surv {lmtp} | R Documentation |
Simulated Time-varying Survival Data
Description
A dataset with a time-to-event outcome, one baseline nodes, two time-varying covariates, a binary time-varying treatment, two outcome nodes, and two censoring indicators. Data-generating mechanism taken from Lendle, Schwab, Petersen, and van der Laan (https://www.jstatsoft.org/article/view/v081i01).
Usage
sim_timevary_surv
Format
A data frame with 500 rows and 11 variables:
- L0.a
Continuous baseline variable.
- L0.b
Time varying covariate at baseline.
- L0.c
Time varying covariate at baseline.
- A0
Treatment variable at baseline
- C0
Censoring indicator that the observation is observed future time points.
- L1.a
Time varying covariate at time 1.
- L1.b
Time varying covariate at time 1.
- Y1
Outcome node at time 1.
- A1
Treatment variable at time 1.
- C1
Censoring indicator that the observation is observed future time points.
- Y2
Final outcome node.