Description Usage Arguments Value
View source: R/nlsGaussianSum.R
Fit a nls model using multiple Gaussian functions.
1 2 | nlsGaussianSum(y, x = seq_along(y), n = 1, spar = 0.5,
with.plot = FALSE, quiet = TRUE)
|
y |
A numeric vector of intensity/signal values. |
x |
An optional vector of x values. |
n |
The number of components to fit. |
spar |
A smoothness parameter that is passed to smooth.spline. Used to presmooth the data. |
with.plot |
If diagnostic plots should be made. |
The fitted nls model.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.