Preview DAG


Preview LaTeX


Edit LaTeX

Use this tab to manually edit the TikZ generated by shinyDAG.

Note that changes made to the TikZ code below will not affect the DAG settings in the app. Changes made to the DAG elsewhere in shinyDAG will overwrite any changes made to the manually edited TikZ code below.


Classic Confounding

This is a description of classic confounding. Descriptions may include HTML.

Differential Loss to Follow-Up

This is a description of differential loss to follow up.

Mediator with Confounding

This is a description of a mediator with confounding.

Selection Bias

This is a description of a selection bias.

About shinyDAG

Development Team

For more information about our lab and other projects please check out our website at

All code is available on GitHub at GerkeLab/shinyDag

If you have any questions or comments, we would love to hear them. You can email us at or Or feel free to open an issue in our GitHub repository.

About shinyDAG

Using shinyDAG

Instructions on usage will be here.