dag_create: Create a graph object for drawing a DAG.

View source: R/dag_create.R

dag_createR Documentation

Create a graph object for drawing a DAG.

Description

[Stable]

Generates a causact_graph graph object that is set-up for drawing DAG graphs.

Usage

dag_create()

Value

a list object of class causact_graph consisting of 6 dataframes. Each data frame is responsible for storing information about nodes, edges, plates, and the relationships among them.

Examples

# With `dag_create()` we can create an empty graph and
# add in nodes (`dag_node()`), add edges (`dag_edge`), and
# view the graph with `dag_render()`.
dag_create()

causact documentation built on Sept. 8, 2023, 5:46 p.m.