compare_simulations: Visualise Common Variables of Different Solow Models

View source: R/HelperFunctions.R

compare_simulationsR Documentation

Visualise Common Variables of Different Solow Models

Description

Visualise the evolution of common variables of multiple (2 or more) Solow variants in the same graph.

Usage

compare_simulations(simulation_list, sim_identifier_vector, vars_selection)

Arguments

simulation_list

List with tibbles. The tibbles need to be the results of the simulationfunctions, e.g. SimulateBasicSolowModel().

sim_identifier_vector

Vector with the model codes. (The first element of sim_identifier_vector should correspond to the first element of simulation_list.)

vars_selection

Vector with the abbreviated variable names to visualise. (This vector can of course only contain variable abbreviations that are shared by all the simulation in simulation_list.)

Note

To see which variables can be selected, that is, to see which variables are common to two models, can be seen with getVariablesAvailableToBeVisualised().

Examples

## Not run: compare_simulations( list(SimulateBasicSolowModel(), SimulateGeneralSolowModel()), c("BS", "GS"), c("Y", "K", "L", "WR", "RR"))

SebastianBehrens/SolowVariants documentation built on Oct. 11, 2023, 2:49 p.m.