fitGaussPeakLinBg: fit peak to gaussian with linear bacground

Description Usage Arguments Value Author(s) Examples

Description

Fit peak to gaussian function with linear background. Fitting interval should be defined by two end points which shoud be selected by two clicks at graph. Function will return fit. Function will return list with parameters of fit and data.frame with data (x,y) in interval used for fit (between two selected points). Linear background will be constructed as linear function thorought two end points.

Usage

1

Arguments

x

x data for fit

y

y data for fit

range

range of x data that will be used for graph drawing

Value

list(fit, data)

Author(s)

Krunoslav Juraic

Examples

1
 ## Not run: fitGaussPeakLinBg(x, y, range)

kjuraic/rpeakfit documentation built on May 20, 2019, 10:25 a.m.