| iptwExWide | R Documentation |
These data are simulated to demonstrate the iptw function in the "wide" data format.
data(lindner)
A list with a covariate matrix and outcomes.
Gender.
Age.
Baseline substance use
.
Use following first time period treatment.
Use following second time period treatment.
Treatment indicator (first time period).
Treatment indicator (second time period).
Treatment indicator (third time period).
Time-invariant covariates are gender and age. The time-varying covariate is use. The reatment indicator is given by tx. An individual level identifier is given in ID, and the time period is time.
Post-treatment outcomes.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.