Function generates scenarios defined in a data frame. In this data frame each row is a scenario, placeholder values are in the columns. Column names correspond to the placeholder names.
Usage
setupScenarios(
baseFile = NULL,
prefix = NULL,
scenarios,
ncores = 1,
rowStart = NULL,
rowEnd = NULL
)
setup_scenarios(
baseFile = NULL,
prefix = NULL,
scenarios,
ncores = 1,
rowStart = NULL,
rowEnd = NULL
)
Arguments
- baseFile
Compatible base xml file.
- prefix
Prefix for the scenario files.
- scenarios
Data frame containing the values for the placeholders. One row per scenario, placeholders in columns. Column names correspond to the placeholder names.
- ncores
Number of parallel processes to use.
- rowStart
Starting row. Optional.
- rowEnd
End row. Optional.