Skip to contents

Functions in godley package

add_equation()
Add equations to the model
add_equation_single()
Add single equation to the model
add_scenario()
Add scenario to the model
add_shock()
Add shock to shock object
add_variable()
Add variables to the model
add_variable_single()
Add single variable to the model
change_init()
Change initial value of a variable
create_model()
Create SFC model object
create_sensitivity()
Create model with sensitivity scenarios
create_shock()
Create shock used in add_scenario().
d()
Calculate 1 order lag difference of a variable in model
plot_simulation()
Plot simulations of multiple variables in multiple scenarios
prepare()
Make initial matrix row for baseline scenario and prepare equations for simulate_scenario()
simulate_scenario()
Simulate scenario of SFC model object
plot_cycles()
Network plot of the model