dag_draw {LSTbook}R Documentation

Draw a DAG

Description

Make a simple drawing of a Directed Acyclic Graph as constructed by datasim_make.

Usage

dag_draw(DAG, ..., report_hidden = FALSE)

Arguments

DAG

The DAG to draw

report_hidden

logical. If TRUE, show the hidden nodes.

...

Additional arguments to plot.igraph()

Details

See the igraph package for more details.

By default, edges are not drawn to hidden nodes, that is, those whose names begin with a dot. To show the hidden nodes, use the argument show_hidden=TRUE.

Value

No return value. Called for graphics side-effects.

Examples

dag_draw(sim_03)

[Package LSTbook version 0.5.0 Index]