plot_cycles {godley}R 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)


[Package godley version 0.2.2 Index]