plot.dagRdag | R Documentation |
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 class 'dagRdag' plot(x, y, ...)
x |
Object of class dagRdag to be passed to |
y |
Currently not used. |
... |
Other arguments to be passed to |
For all available arguments, see documentation of dag.draw
.
The DAG object is returned.
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.
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.