Description Usage Arguments Value Author(s) See Also
It runs a user-defined model to be calibrated/optimised and returns a goodness-of-fit value as measure of model performance, by comparing observations against simulated equivalents
| 1 2 3 4 5 6 7 | hydromod(param.values, param.files = "ParamFiles.txt", model.drty = getwd(), 
         exe.fname, stdout= FALSE, stderr="", verbose = FALSE, 
         out.FUN, out.FUN.args, gof.FUN, gof.FUN.args=list(), 
         gof.Ini, gof.Fin, date.fmt = "%Y-%m-%d", obs,
         do.png=FALSE, png.fname, width = 1200, height = 600, res=90,
         main, leg.cex=1.2, tick.tstep= "auto", lab.tstep= "auto", 
         lab.fmt=NULL)
 | 
| param.values | numeric vector, a single parameter set used to run the model specified in  | 
| param.files | character, file name (full path) storing location and names of the files that have to be modified for each parameter. By default  | 
| model.drty | character, path to the executable file of the model specified in  | 
| exe.fname | character, model command line arguments to be entered through a prompted string to execute the user-defined model | 
| stdout, stderr | where output to ‘stdout’ or ‘stderr’ should be sent. Possible values are  | 
| verbose | logical; if TRUE, progress messages are printed to the screen  | 
| out.FUN | character, name of a valid R function to read the model outputs and transform them into a (zoo) object to be compared against  | 
| out.FUN.args | list, arguments to be passed to  | 
| gof.FUN | character, name of a valid (goodness-of-fit) R function to obtain model performance (e.g., see  | 
| gof.FUN.args | list, arguments additional to sim and obs that need to be passed to  | 
| gof.Ini | OPTIONAL. Character with the starting date used in the goodness-of-fit function  | 
| gof.Fin | OPTIONAL. Character with the ending date used in the goodness-of-fit function  | 
| date.fmt | character, format in which the dates are stored in  | 
| obs | (zoo) object with the observed values | 
| do.png | logical indicating whether a PNG image with the comparison between  | 
| png.fname | OPTIONAL. Used only when  | 
| width | OPTIONAL. Used only when  | 
| height | OPTIONAL. Used only when  | 
| res | OPTIONAL. Used only when  | 
| main | OPTIONAL. Used only when  | 
| leg.cex | See  | 
| tick.tstep | See  | 
| lab.tstep | See  | 
| lab.fmt | See  | 
A list of two elements:
| sim | numeric, with the simulated values obtained by running the model | 
| GoF | numeric, goodness-of-fit value representing how close each one of the simulated values in  | 
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.