demo.dag1 {dagR} | R Documentation |
Set up demo DAG #1.
Description
Initializes a classical "M DAG" useful for demonstrating harmful adjustment. The DAG is motivated by figure 3 in Fleischer (2008) and also featured in Breitling (2010).
Usage
demo.dag1()
Value
Returns a DAG.
Author(s)
Lutz P Breitling <l.breitling@posteo.de>
References
Breitling LP (2010). dagR: a suite of R functions for directed acyclic graphs. Epidemiology 21(4):586-587.
Fleischer NL, Diez Roux AV (2008). Using directed acyclic graphs to guide analyses of neighbourhood health effects: an introduction. J Epidemiol Community Health 62:842-846.
See Also
demo.dag0
, demo.dag2
, demo.dag3
,
demo.dag4
, demo.dag5
, demo.dag6
[Package dagR version 1.2.1 Index]