plot_cycles: Network plot of the model

View source: R/12_plot_cycles.R

plot_cyclesR Documentation

Network plot of the model

Description

Network plot of the model

Usage

plot_cycles(model, save_file = NULL)

Arguments

model

SFC model object created with create_model

save_file

name and path to save the plot as html file

Details

This function creates a representation of a model as a directed graph. Additionally it shows cycles in the model including these with lagged variables. Graph can be saved as html file.

Value

visNetwork object

Examples

model <- godley::create_model(name = "SFC model", template = "BMW")
plot_cycles(model)


gamrot/godley documentation built on April 12, 2025, 1:50 p.m.