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).
demo.dag1()
Returns a DAG.
Lutz P Breitling <l.breitling@posteo.de>
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.
demo.dag0
, demo.dag2
, demo.dag3
,
demo.dag4
, demo.dag5
, demo.dag6