View source: R/HelperFunctions.R
compare_simulations | R Documentation |
Visualise the evolution of common variables of multiple (2 or more) Solow variants in the same graph.
compare_simulations(simulation_list, sim_identifier_vector, vars_selection)
simulation_list |
List with tibbles. The tibbles need to be the results of the simulationfunctions, e.g. |
sim_identifier_vector |
Vector with the model codes. (The first element of |
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 |
To see which variables can be selected, that is, to see which variables are common to two models, can be seen with getVariablesAvailableToBeVisualised()
.
## Not run: compare_simulations( list(SimulateBasicSolowModel(), SimulateGeneralSolowModel()), c("BS", "GS"), c("Y", "K", "L", "WR", "RR"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.