View source: R/calc_scenario_prices.R
calc_scenario_prices | R Documentation |
Function generates prices for baseline and late and sudden shock scenario.
Price for baseline scenario correspond to prices of baseline_scenario
.
Prices for the late sudden scenario also correspond to baseline_scenario
until the year_of_shock
. From then on they linearly approach the price
level of the shock_scenario
during the duration_of_shock
.
calc_scenario_prices(
price_data,
baseline_scenario,
target_scenario,
transition_scenario,
start_year
)
price_data |
A tibble holding price data. |
baseline_scenario |
String holding name of the baseline scenario. |
target_scenario |
String holding name of the target scenario. |
transition_scenario |
Tibble with 1 row holding at least variables
|
start_year |
Start_year of analysis |
A tibble holding late_and_sudden_prices
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.