R/curveFit_utils.R
emgGaussian_minpack.lm_objectiveFun.RdExponentially Modified Gaussian (EMG) minpack.lm objective function, calculates residuals using the EMG Peak Shape
emgGaussian_minpack.lm_objectiveFun(params, observed, xx)(list) exponentially modified gaussian parameters
(params$gamma, params$center, params$sigma,
params$amplitude)
(numeric) observed y value at xx
(numeric) value at which to evalute the exponentially modified gaussian
difference between observed and expected exponentially modified gaussian value evaluated at xx