XPSFitLM: XPSFitLM

View source: R/XPSFitLM.r

XPSFitLMR Documentation

XPSFitLM

Description

XPSFitLM function to perform the fit of a Core Line Calculate the fit of a XPSCoreLine object. The XPSFitLM performs the fit and stop. This function is the main function for performing the fit. The XPSfit is the main function which calls the XPSFitLM and displays the result.

Usage

XPSFitLM(Object, plt = TRUE, verbose = TRUE, ...)

Arguments

Object

XPSCoreLine object

plt

logical if TRUE residual plot is drawn

verbose

logical by default TRUE to print fit interation information

...

further parameters to the fitting function

Value

XPSFitLM returns the slot Object@Fit filled with the result of the calculation. All the fitting parameters and Y values of all the fit components will be updated

See Also

nlsLM

Examples

## Not run: 
 XPSFitLM(SampData[["C1s"]], plt=TRUE, verbose=TRUE ) 

## End(Not run)

GSperanza/RxpsG_2.3-1 documentation built on Feb. 11, 2024, 5:09 p.m.