plot.dagitty: Plot Graph

Description Usage Arguments

View source: R/dagitty.r

Description

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.

Usage

1
2
3
4
5
6
7
8
## S3 method for class 'dagitty'
plot(
  x,
  abbreviate.names = FALSE,
  show.coefficients = FALSE,
  adjust.coefficients = NA,
  ...
)

Arguments

x

the input graph, a DAG, MAG, or PDAG.

abbreviate.names

logical. Whether to abbreviate variable names.

show.coefficients

logical. Whether to plot coefficients defined in the graph syntax on the edges.

adjust.coefficients

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.


dagitty documentation built on Jan. 21, 2021, 5:07 p.m.