Learn R Programming

godley (version 0.2.2)

plot_cycles: Network plot of the model

Description

Network plot of the model

Usage

plot_cycles(model, save_file = NULL)

Value

visNetwork object

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.

Examples

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

Run the code above in your browser using DataLab