tMdat | R Documentation |
A simulate dataset for demonstrating the functions in the twangMediation package.
tMdat
A data frame with 500 rows and 7 variables:
Simulated continuous covariate
Simulated continuous covariate
Simulated continuous covariate
Simulated dichotomous exposure indicator
Simulated continuous outcome
Simulated mediator that has 11 unique values
Estimated inverse probability weight, estimated using GBM via the twang ps function
tMdat |
A sample of simulated data for demonstration |
wgtmed
## Not run: data(tMdat) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.