Read scenario definition(s) from excel file
Source:R/utilities-scenario-configuration.R
readScenarioConfigurationFromExcel.Rd
Read scenario definition(s) from excel file
Value
A named list of ScenarioConfiguration
objects withe the names of the
list being scenario names.
Details
Reads scenario definition from the excel file defined in
ProjectConfiguration
and creates ScenarioConfiguration
objects with new
information.
If a scenario that is specified in scenarioNames
is not found in the excel
file, an error is thrown.
Examples
if (FALSE) { # \dontrun{
# Create default ProjectConfiguration
projectConfiguration <- createDefaultProjectConfiguration()
scenarioName <- "MyScenario"
# Read scenario definition from excel
scenarioConfiguration <- readScenarioConfigurationFromExcel(scenarioConfiguration)[[scenarioName]]
} # }