Usage
plotDAG(DAG, tmax = NULL, xjitter, yjitter, node.action.color,
vertex_attrs = list(), edge_attrs = list(), excludeattrs, customvlabs,
verbose = getOption("simcausal.verbose"))
Arguments
DAG
A DAG object that was specified by calling set.DAG
tmax
Maximum time-point to plot for time-varying DAG objects
xjitter
Amount of random jitter for node x-axis plotting coordinates
yjitter
Amount of random jitter for node y-axis plotting coordinates
node.action.color
Color of the action node labels (only for action DAG of class DAG.action). If missing, defaults to red.
vertex_attrs
A named list of igraph
graphical parameters for plotting DAG vertices. These parameters are passed on to add.vertices
igraph
function.
edge_attrs
A named list of igraph
graphical parameters for plotting DAG edges. These parameters are passed on to add.edges
igraph
function.
excludeattrs
A character vector for DAG nodes that should be excluded from the plot
customvlabs
A named vector of custom DAG node labels (replaces node names from the DAG object).
verbose
Set to TRUE
to print messages on status and information to the console.
Turn this off by default using options(simcausal.verbose=FALSE).