Plot simulations of multiple variables in multiple scenarios
Source:R/10_plot_simulation.R
plot_simulation.Rd
Plot simulations of multiple variables in multiple scenarios
Usage
plot_simulation(
model,
scenario = "baseline",
take_all = FALSE,
from = NA,
to = NA,
expressions = "Y"
)
Arguments
- model
SFC model object
- scenario
vector of strings or single string name of scenario(s) from which take variables values, defaults to 'baseline'
- take_all
logical indicating whether all scenarios containing the given scenario name string(s) should be used, defaults to FALSE
- from
numeric period number from which the plot should start, defaults to maximum value
- to
numeric period number on which the plot should end, defaults to minimum value
- expressions
vector of strings or single string name of variable(s) expression(s) to plot, defaults to 'Y'