Modify a model
modifyModel(
projectPath,
modelName,
newValuesList,
add.defaults = FALSE,
purge.processData = FALSE,
strict = TRUE,
update.functionInputs = TRUE
)
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.
The name of the model (possible values are "baseline", "analysis" and "report").
A list of newValues
named by the processes to modify. See also modifyProcess
.
Logical: If TRUE defaults of a function are added when setting the function of the process.
Logical: If TRUE replace process data entirely.
Logical: If FALSE a proposed process name is changed to the default new process name, whereas TRUE throws an error.
Logical: If TRUE update the process name in the function inputs to other processes.