Calcuted error measure between observed and simulated data
objFn(obs, sim, FUN, ...)
fitness(obs, sim, FUN, ...)
observed data as expected by FUN.
simulated data matching 'obs'
the error function. Current accepted values area: 'norm2', 'lnorm2', 'lnorm3', 'multinomial', 'pois', 'penalty0', 'penalty1', 'penalty2' and 'normp'.
Additional arguments to FUN
the value of FUN(obs, sim, ...)