readModelData | R Documentation |
This function reads all or some of the output files of a project, indicated by model and proccess names.
readModelData(
projectPath,
modelName = NULL,
processName = NULL,
verifyFiles = FALSE,
unlist = FALSE,
emptyStringAsNA = FALSE
)
projectPath |
The path to the StoX project, i.e., the folder of the project with the sub folders "input", "output" and "process". Can possibly be the path to a file inside the project folder. |
modelName |
The name of the model (possible values are "baseline", "analysis" and "report"). |
processName |
The name of the process. |
verifyFiles |
Logical: If TRUE verify that the files are from processes that exist in the project. |
unlist |
Either 1 to unlist the models, 2 to unlist the models and the process. TRUE is interpreted as 2. |
emptyStringAsNA |
Logical: If TRUE, read empty strings as NA from the stored original tables, as RstoxFramework has started writing NAs as NAs and not as empty strings. |
A list of model output.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.