dag_create {causact}R Documentation

Create a graph object focused on drawing a DAG.

Description

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

[Package causact version 0.4.0 Index]