XPSbaseline | R Documentation |
Calculates the baseline for XPSCoreLine. There is a list of baseline shapes implemented: linear, polynomial, spline, Shirley, 2P.Shirley, 3P.Shirley, LP.Shirley, 2P.Tougaard, 3p.Tougaard, 4P.Tougaard. Selection of the appropriate baseline have to be made upon spectral-data properties.
XPSbaseline(
object,
bgtype = c("linear", "shirley", "polynomial", "spline"),
deg = NULL,
Wgt = NULL,
splinePoints = list(x = NULL, y = NULL),
...
)
object |
XPSCoreLine object |
bgtype |
the baseline type. For example linear type |
deg |
degree of the polynomial background |
Wgt |
LinearPolynomial weigth in LPShirley, required parma in 3P. 4P.Tougaard |
splinePoints |
numeric vector containing the points which will be connected by the spline |
... |
other parameters. |
The Object slot Baseline
will be filled with the selected Bsseline
and it will be displyed. The baseline function returns an object of class
baseline
. The x is the same as RegionToFit
x coord. The y coord
are the baseline values.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.