sim_cens: Simulated Longitudinal Data With Censoring

sim_censR Documentation

Simulated Longitudinal Data With Censoring

Description

A dataset with a binary outcome, two time varying treatment nodes, two time varying covariates, and two censoring indicators.

Usage

sim_cens

Format

A data frame with 1000 rows and 10 variables:

L1

Time varying covariate time 1

A1

Treatment node at time 1, effected by L_1

C1

Censoring indicator that the observation is observed after time 1

L2

Time varying covariate at time 2, effected by L_1 and A_1

A2

Treatment node at time 2, effected by L_2 and A_1

C2

Censoring indicator that the observation is observed after time 2

Y

Binary outcome at time 3, effected by L_2 and A_2


lmtp documentation built on June 27, 2024, 9:10 a.m.