Description Usage Arguments Value Author(s) Examples
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.
1 | fitGaussPeakLinBg(x, y, range)
|
x |
x data for fit |
y |
y data for fit |
range |
range of x data that will be used for graph drawing |
list(fit, data)
Krunoslav Juraic
1 | ## Not run: fitGaussPeakLinBg(x, y, range)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.