setScenario | R Documentation |
setScenario is adapting a given config to a predefined scenario, meaning that all settings which are fixed for the given scenario are written to the config. Settings not defined by the scenario remain unchanged.
setScenario(cfg, scenario, scenario_config = "config/scenario_config.csv")
cfg |
Input config which should be adapted to the given scenario |
scenario |
name of scenario (e.g. "SSP2"). Can also be a vector of scenarios. In this case scenario settings are applied in the given order |
scenario_config |
The path where the scenario config table is stored. |
The updated config as a config list ready for further usage.
The scenario config table is a table which contains as columns the different scenarios and as rows the different settings. Empty entries for a given scenario-setting combination indicate that this setting is not defined by the scenario and should not be changed by set Scenario!
Jan Philipp Dietrich, Anastasis Giannousakis
check_config
,getModules
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.