Skip to contents

Generate DataCombined objects as defined in excel file

Usage

createDataCombinedFromExcel(
  file,
  sheet = NULL,
  dataCombinedNames = NULL,
  simulatedScenarios = NULL,
  observedData = NULL,
  stopIfNotFound = TRUE
)

Arguments

file

Full path of excel file

sheet

Name of sheet to use - if NULL the first sheet will be used

dataCombinedNames

Names of the DataCombined objects that will be created. If NULL (default), all DataCombined objects specified in the excel sheet will be created. If a DataCombined object with a given name does not exist, an error is thrown.

simulatedScenarios

A list of simulated scenarios as returned by runScenarios()

observedData

A list of DataSet objects

stopIfNotFound

If TRUE (default), the function stops if any of the simulated results or observed data are not found. If FALSE a warning is printed.

Value

A list of DataCombined objects