
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. IfNULL(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 beNULLif no simulated data is required for the plots.- observedData
A list of
DataSetobjects. Can beNULLif no observed data is required for the plots.- dataCombinedList
A (named) list of
DataCombinedobjects as input to create plots defined in theplotGridNamesargument. MissingDataCombinedwill be created from the Excel file (default behavior). Defaults toNULL, in which case allDataCombinedare 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 theexportConfigurationsheet.- 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.