Description Usage Arguments Value Author(s) References Examples
Plot sensitivity of the estimated total indirect effect between mediators and an outcome
1 | plot_cw_ide(cmmb.output)
|
cmmb.output |
an output of the cmmb function |
It plots estimated component-wise products of path coefficients
Michael B. Sohn
Maintainer: Michael B. Sohn <michael_sohn@urmc.rochester.edu>
Sohn, M.B., Lu, J. and Li, H. (2021). A Compositional Mediation Model for Binary Outcome: Application to Microbiome Studies (Submitted)
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
# Load a simulated dataset
data(cmmb_demo_data)
# Run CMM for binary outcomes
rslt <- cmmb(Y=cmmb_demo_data$Y, M=cmmb_demo_data$M,
tr=cmmb_demo_data$tr, X=cmmb_demo_data$X)
rslt
# Plot products of component-wise path coefficients
plot_cw_ide(rslt)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.