A simple plot method to quickly visualize a graph. This is intended mainly for simple visualization purposes and not as a full-fledged graph drawing function.
# S3 method for dagitty
plot(
x,
abbreviate.names = FALSE,
show.coefficients = FALSE,
adjust.coefficients = NA,
...
)
the input graph, a DAG, MAG, or PDAG.
logical. Whether to abbreviate variable names.
logical. Whether to plot coefficients defined in the graph syntax on the edges.
numerical. Adjustment for coefficient labels; the distance between the edge labels and the midpoint of the edge can be controlled using this paramer. Can also be a vector of 2 numbers for separate horizontal and vertical adjustment. NA means no adjustment (default).
not used.