objFn function

Calcuted error measure between observed and simulated data

Calcuted error measure between observed and simulated data

objFn(obs, sim, FUN, ...) fitness(obs, sim, FUN, ...)

Arguments

  • obs: observed data as expected by FUN.
  • sim: simulated data matching 'obs'
  • FUN: the error function. Current accepted values area: 'norm2', 'lnorm2', 'lnorm3', 'multinomial', 'pois', 'penalty0', 'penalty1', 'penalty2' and 'normp'.
  • ...: Additional arguments to FUN

Returns

the value of FUN(obs, sim, ...)

  • Maintainer: Ricardo Oliveros-Ramos
  • License: GPL-2
  • Last published: 2024-02-14