Description Usage Arguments Value Examples
View source: R/FitPeakToGaussian.R
Using the output from EstimateGaussianParameters, do a nonlinear fit to a Gaussian model
1 2 3 4 5 6 7 8 9 | FitPeakToGaussian(
x,
y,
centroid,
doPlot = TRUE,
pTitle = "Peak",
xTitle = "x",
yTitle = "y"
)
|
x |
vector with the massess |
y |
vector with the intensity |
centroid |
mean of the peak |
doPlot |
- A boolean (default FALSE) to plot the data, estimate, and the fit. |
pTitle |
- An optional plot title |
xTitle |
- An optional X-axis label |
yTitle |
- An optional Y-axis label |
sum - A summary of the fit
1 | # Not run
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.