Skip to contents

Generate plots as defined in excel file projectConfiguration$plotsFile

Usage

createPlotsFromExcel(
  plotGridNames = NULL,
  simulatedScenarios,
  observedData,
  projectConfiguration,
  stopIfNotFound = TRUE
)

Arguments

plotGridNames

Names of the plot grid specified in the sheet plotGrids for 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()

observedData

A list of DataSet objects

projectConfiguration

Object of class ProjectConfiguration that contains information about the output paths and the excel file where plots are defined.

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 ggplot objects