
Generate plots as defined in excel file projectConfiguration$plotsFile
      Source: R/utilities-figures.R
      createPlotsFromExcel.RdGenerate plots as defined in excel file projectConfiguration$plotsFile
Usage
createPlotsFromExcel(
  plotGridNames = NULL,
  simulatedScenarios = NULL,
  observedData = NULL,
  dataCombinedList = NULL,
  projectConfiguration,
  outputFolder = NULL,
  stopIfNotFound = TRUE
)Arguments
- plotGridNames
- Names of the plot grid specified in the sheet - plotGridsfor which the figures will be created. If- NULL(default), all plot grids specified in the excel sheet will be created. If a plot grid with a given name does not exist, an error is thrown.
- simulatedScenarios
- A list of simulated scenarios as returned by - runScenarios(). Can be- NULLif no simulated data is required for the plots.
- observedData
- A list of - DataSetobjects. Can be- NULLif no observed data is required for the plots.
- dataCombinedList
- A (named) list of - DataCombinedobjects as input to create plots defined in the- plotGridNamesargument. Missing- DataCombinedwill be created from the Excel file (default behavior). Defaults to- NULL, in which case all- DataCombinedare created from Excel.
- projectConfiguration
- Object of class - ProjectConfigurationthat contains information about the output paths and the excel file where plots are defined.
- outputFolder
- Optional - path to the folder where the results will be stored. If - NULL(default),- projectConfiguration$outputFolderis used. Only relevant for plots specified for export in the- exportConfigurationsheet.
- 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.