XPSmodFit | R Documentation |
Provides a userfriendly interface to select a fitting algorithms to
fit an XPSCoreline. Fitting algorithms are:
(I) Classic algorithms: Levenberg-Marquardt, Newton and Port based on the minimization
of the Squares of the Differences and handled in a more robust way (although slower)
compared to (nlsLM
) function.
(II) Conjugate-Gradient Algorithms: General-purpose optimization based on Nelder-Mead,
quasi-Newton and conjugate-gradient algorithms.
(III) Pseudo Algorithms: random based algorithm (rather slow) but ensure the convergence.
XPSmodFit(Object, plt = TRUE, ...)
Object |
XPSCoreLine object |
plt |
logical, to enable plot XPSCoreLine and fit. By default is set to TRUE |
... |
further parameters to the fitting function |
The Object slot XPSmodFit
will be filled with the result of the
calculation. All the values of the components will be update and the result
will be displyed.
nlsLM
## Not run:
SampData[["C1s"]] <- XPSmodFit(SampData[["C1s"]])
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.