optimtrace {hydromad}R Documentation

Extract objective function value series from optimisation results

Description

Extract objective function value series from optimisation results.

Usage

optimtrace(object, ...)

Arguments

object

fitted model object. Currently only hydromad objects are supported.

...

further arguments which may be supported for particular optimisation algorithms. These are:

raw

if TRUE, then raw function values are returned, which may consist of multiple series in parallel, and may jump up and down. Otherwise (the default), the best value so far at each time step is returned.

objective

a function or formula to calculate from object to construct the objective function value series. It is passed to objFunVal. Currently this is only supported for dream results.

Value

a zoo series where the time index represents number of function evaluations.

Author(s)

Felix Andrews felix@nfrac.org

See Also

fitBySCE, fitByDE, fitByDream, fitByOptim

Examples

## see examples in fitByOptim, fitBySCE, fitByDE, fitByDream
[Package hydromad version 0.9-18 Index]