stics_eval_opti.Rd
Function evaluated for parameter optimization. This function is only provided
for informative value, but should not be used by the user. It is called by optimi_stics()
.
stics_eval_opti( x, USM_path, obs_name, param, weight = NULL, Plant, type = NULL )
x | The starting parameter values |
---|---|
USM_path | The path to the USM |
obs_name | The observation file name |
param | The parameter names (in same order than x) |
weight | The weight used for each variable (see details) |
Plant | The plant (i.e. Principal or associated) for which the parameters
will be set (only for plant or technical parameters in mixed crop simulations)
Set to |
type | The type of the parameter (only used if integers are required) |
The weighted product of squares (selection criteria)
If weight is not provided by the user, the selection criteria is computed using the equation 5 from Wallach et al. (2011). If they are provided, the equation 6 is used instead.
Wallach, D., Buis, S., Lecharpentier, P., Bourges, J., Clastre, P., Launay, M., … Justes, E. (2011). A package of parameter e00stimation methods and implementation for the STICS crop-soil model. Environmental Modelling & Software, 26(4), 386–394. doi:10.1016/j.envsoft.2010.09.004