View source: R/funcs_scenarios.R
add_scenario | R Documentation |
Add a scenario or update a scenario in the scenario list by name
add_scenario(scenario_list, scenario, user_name = NULL)
scenario_list |
List where each element is a scenario list-object. |
scenario |
A scenario list-object. |
user_name |
Character string with the name of the scenario to be added or updated. |
If the 'scenario' is valid, an updated scenario list If not, a character string equal to "error: your scenario is not complete, please review".
## Not run: add_scenario(scenario_list, scenario, user_name = "my new scenario") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.