Description Usage Arguments Value
View source: R/nlsGaussianSum.R
Choose the best number of gaussian components automatically using K-fold cross validation. The best performing model is refitted and returned.
1 | nlsGaussianSumCV2(y, x = seq_along(y), K = 3, n.range = 1:3, ...)
|
y |
The intensity values on which to fit. |
x |
The associated x values. Optional. |
K |
The number of cross validation folds to perform. Larger numbers yield better error estimates. |
n.range |
A numeric vector of n values that should be evaluated. |
The fitted nls model that performed best.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.