Writes the paths into a DAG drawing, using the symbols ('C', 'U', 'X', 'Y') used in the drawing, indicating directed arcs by '<' and '>', undirected ones by '-'. Since version 1.1.2, alt.symb allow usage of custom node symbols, though multi-character symbols will not be formatted well.
Adjusted variables are under- and over-lined.
If the paths have been evaluated using eval.paths
, the status are also written.
write.paths(dag, px = 0.5, py = -0.06, alt.symb = TRUE)
The DAG that has been drawn.
An x coordinate to change the position of the path writing.
A y coordinate to change the position of the path writing.
Boolean indicating if alternative node symbols (dag$symbols) should be used.
Lutz P Breitling <l.breitling@posteo.de>
dag.draw
, find.paths
,
eval.paths
, dag.legend