datamed | R Documentation |
Simulated data set containing 1000 observations on 5 measured variables with no missing values. The first three variables are the binary exposure, mediator and outcome, respectively, while the last two variables are the potential adjustment covariates (one binary and one continuous).
data(datamed)
A data frame with 1000 rows and 5 variables:
exposure, binary variable
mediator, binary variable
outcome, binary variable
first covariate, binary variable
second covariate, continuous variable
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.