datamed {ExactMed} | R Documentation |
Data for Examples (Binary Mediator)
Description
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).
Usage
data(datamed)
Format
A data frame with 1000 rows and 5 variables:
- X
exposure, binary variable
- M
mediator, binary variable
- Y
outcome, binary variable
- C1
first covariate, binary variable
- C2
second covariate, continuous variable
[Package ExactMed version 0.3.0 Index]