emgGaussian_minpack.lm_objectiveFun: Exponentially Modified Gaussian minpack.lm objective function

View source: R/curveFit_utils.R

emgGaussian_minpack.lm_objectiveFunR Documentation

Exponentially Modified Gaussian minpack.lm objective function

Description

Exponentially Modified Gaussian (EMG) minpack.lm objective function, calculates residuals using the EMG Peak Shape

Usage

emgGaussian_minpack.lm_objectiveFun(params, observed, xx)

Arguments

params

(list) exponentially modified gaussian parameters (params$gamma, params$center, params$sigma, params$amplitude)

observed

(numeric) observed y value at xx

xx

(numeric) value at which to evalute the exponentially modified gaussian

Value

difference between observed and expected exponentially modified gaussian value evaluated at xx


phenomecentre/peakPantheR documentation built on Feb. 29, 2024, 9:07 p.m.