XPSbaseline-XPSCoreLine-method: XPSbaseline

XPSbaseline,XPSCoreLine-methodR Documentation

XPSbaseline

Description

method to generate a Baseline for an object of class 'XPSCoreLine'

Usage

## S4 method for signature 'XPSCoreLine'
XPSbaseline(
  object,
  bgtype = c("linear", "shirley", "polynomial", "spline"),
  deg = NULL,
  Wgt = NULL,
  splinePoints = list(x = NULL, y = NULL),
  ...
)

Arguments

object

XPSCoreLine object

bgtype

the baseline type. For example linear type "2P.Tougaard".

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.

Value

The Object slot Baseline

Examples

## Not run: 
  test[["C1s"]] <- XPSbaseline(test[["C1s"]], "linear")

## End(Not run)

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