Plot the DAG with blocks and cycles information

sfcr_dag_blocks_plot(equations, title = NULL, size = 10)

Arguments

equations

A sfcr_set containing all the equations of the model to be simulated. The equations must be written with the R formula syntax, with the left-hand side separated from the right-hand side by a twiddle ~.

title

Title of the plot.

size

Size of the points.

Value

A tbl_graph

Details

This function creates a tbl_graph with information about the cycles attached to it. This object can then be used to plot the DAG of the model.

Author

João Macalós, joaomacalos@gmail.com