Description Usage Arguments Details Value Author(s) See Also
Run the model and get a goodness-of-fit value by comparing the simulated values against observations for the optimum parameter set found by optimisation
1 2 |
fn |
character, name of a valid R function to be optimised or character value 'hydromod'. When |
... |
OPTIONAL. Only used when |
par |
numeric, or matrix/data.frame with the parameter sets that will be used for verification |
control |
a list of control parameters. See ‘Details’ |
model.FUN |
OPTIONAL. Only used when |
model.FUN.args |
OPTIONAL. Only used when |
The control
argument is a list that can supply any of the following components:
character, path to the directory storing the input files required for PSO, i.e. ‘ParamRanges.txt’ and ‘ParamFiles.txt’
character, path to the directory storing the output files generated by hydroPSO
OPTIONAL. Only used when write2disk=TRUE
numeric, number of significant digits used for writing the outputs in scientific notation
character, ONLY used for identifying the goodness-of-fit of each model run and writing it to the LH_OAT-gof.txt output file
character, indicates whether the optimum value for the analysed problem corresponds to the minimum or maximum of the the objective function. It is used to select the ‘best’ parameter set.
Valid values are in: c('min', 'max')
logical, if TRUE a PNG plot with the comparison between observed and simulated values is produced for each parameter set used in the LH-OAT
logical, indicates if the output files will be written to the disk
logical, if TRUE progress messages are printed
A list of two elements:
gofs |
numeric with the goodness-of-fit values corresponding to each one of the parameter sets provided in |
model.values |
data.frame with the model outputs corresponding to each one of the parameter sets provided in |
best.param |
numeric with the parameter values of the "best" paraemter set found during the verification period |
best.gof |
numeric with the goodness-of-fit of the "best" parameter set found during the verification period |
Mauricio Zambrano-Bigiarini, mzb.devel@gmail.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.