sfcr_dag_blocks: Create a 'tbl_graph' object blocks and cycles information

Description Usage Arguments Details Value Author(s)

View source: R/sfcr_plots.R

Description

Create a tbl_graph object blocks and cycles information

Usage

1
sfcr_dag_blocks(equations)

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 ~.

Details

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

Value

A tbl_graph

Author(s)

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


sfcr documentation built on Oct. 11, 2021, 9:09 a.m.