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.

1 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.