View source: R/09_add_scenario.R
add_scenario | R Documentation |
Add scenario to the model
add_scenario(
model,
name = "expansion",
origin = "baseline",
origin_start = NA,
origin_end = NA,
shock
)
model |
SFC model object |
name |
string name of scenario, defaults to 'expansion' |
origin |
string name of origin scenario, from which the new scenario will be created, defaults to 'baseline' |
origin_start |
numeric period number from origin scenario from which the new scenario will begin |
origin_end |
numeric period number from origin scenario on which the new scenario will end |
shock |
shock object from |
updated SFC model object containing added scenario
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.