Skip to contents

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()

Value

No return value. Called for graphics side-effects.

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.

Examples

dag_draw(sim_03)