getModelData | R Documentation |
Get output data from processes of an open StoX project
getModelData(
projectPath,
modelName,
processes = NULL,
startProcess = 1,
endProcess = Inf,
drop.datatype = TRUE,
warn = TRUE,
unlistDepth2 = FALSE,
returnBootstrapData = FALSE,
selection = list(),
BootstrapID = NA,
unlistSingleTable = 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"). |
processes |
The name of the processes. |
startProcess |
The process index, name or ID at which to start the model run. |
endProcess |
The process index, name or ID at which to stop the model run. |
drop.datatype |
Logical: If TRUE, drop the top level of the output list if it has length 1 and that single element is named by the datatype name. |
warn |
Logical: If TRUE show warnings that are not highly important. |
unlistDepth2 |
Logical: Related to |
returnBootstrapData |
Logical: If TRUE read the content of bootstrap NetCDF4 file. |
selection |
Hierarchical list of names of the groups/variables. The last element must be a vector of the variables to return from the table specified by the other elements. E.g., list("ImputeSuperIndividuals", "SuperIndividualsData", c("Stratum", "IndividualAge", "Abundance")) will return a data.table of the three columns "Stratum", "IndividualAge" and "Abundance", added the BootstrapID specified in |
BootstrapID |
A sequence of bootstrap IDs, i.e., the indices of the bootstrap replicates. The default returns all bootstrap replicates. |
unlistSingleTable |
Logical: For use when only single table process outputs are among the requested processes in |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.