cmmb_demo_data: Example Data

Description Usage

Description

It is a list that contains artificial 50 samples with a binary outcome variable y, a binary treatment tr, a compositional mediator M with 5 components, and 1 covariate X. The true direct and indirect effects of treatment on the outcome are 0.26 and 0.14, respectively.

Usage

1

mbsohn/cmmb documentation built on Dec. 21, 2021, 3:56 p.m.