Function to draw a DAG
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.
plot(demo.dag1()); plot(demo.dag3(), legend=FALSE);
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.