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