Description Usage Arguments Value
setBaselineParameters
Sets baseline parameters in memory to new values specified in parlist
or ...
.
readBaselineParametersJava
Reads the baseline parameters from the Java memory.
getBaselineParameters
Gets either original, java or last used baseline parameters
modifyBaselineParameters
Only modifies the parameters in parameters
using those in parlist
and ...
. This function does not change the values other than in the return of the function (not in the RstoxEnv environment nor in the project file).
1 2 3 4 5 6 7 8 | setBaselineParameters(projectName, msg = FALSE, parlist = list(),
modelType = "all", save = c("last", "java"), ...)
readBaselineParametersJava(projectName, keepMissing = TRUE)
getBaselineParameters(projectName, modelType = "all")
modifyBaselineParameters(projectName, parameters, parlist = list(), ...)
|
projectName |
The name or full path of the project, a baseline object (as returned from |
msg |
Logical; if TRUE print old and new parameters. |
parlist |
List of parameters values overriding existing parameter values. These are specified as processName = list(parameter = value), for example AcousticDensity = list(a = -70, m = 10), BioStationWeighting = list(WeightingMethod = "NASC", a = -70, m = 10). Numeric parameters must be given as numeric, string parameters as string, and logical parameters (given as strings "true"/"false" in StoX) can be given as logical TRUE/FALSE. New parameters can be set by setBaselineParameters() but not removed in the current version. |
modelType |
The type of model to run, currently one of "baseline" and "baseline-report". First element used. If given as "all", parameters from both baseline and baseline-report are returned. |
save |
A string naming the types of parameter to save ("java" implies saving the parameters to Java memory and to RstoxEnv[[projectName]]$javaParameters, whereas "last" implies saving the parameters to RstoxEnv[[projectName]]$javaParameters and to the projectData which are saved along with bootstrap and impute data). If save=TRUE, save is set to c("java", "last"). |
... |
Same as parlist, but can be specified separately (not in a list but as separate inputs). |
keepMissing |
Logical: If FALSE discard empty parameters of processes when reading the parameters from the Java memory. |
parameters |
A list of the baseline parameters to modify using |
rver |
The version of the stox library. |
The original parameters
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.