Generic function to draw a directed acyclic graph in an object of class dagRdag.
This essentially passes the DAG object to the function dag.draw
, which is
maintained for backwards compatibility.
# S3 method for dagRdag
plot(x, y, ...)
The DAG object is returned.
Object of class dagRdag to be passed to dag.draw
.
Currently not used.
Other arguments to be passed to dag.draw
.
Lutz P Breitling <l.breitling@posteo.de>
For all available arguments, see documentation of dag.draw
.
Breitling LP (2010). dagR: a suite of R functions for directed acyclic graphs. Epidemiology 21(4):586-587.
Breitling LP, Duan C, Dragomir AD, Luta G (2022). Using dagR to identify minimal sufficient adjustment sets and
to simulate data based on directed acyclic graphs. Int J Epidemiol 50(6):1772-1777.
dag.draw