Ycomponent-fitComponents-method: Ycomponent

Ycomponent,fitComponents-methodR Documentation

Ycomponent

Description

S4method 'Ycomponent' method for generate the Y values of the fit component using the chosen fitting function and the associated fit parameters

Usage

## S4 method for signature 'fitComponents'
Ycomponent(object, x, y)

Arguments

object

a fit component object of the type CL@Components[[j]] where CL is of class 'XPSCoreLine', j indicates the jth fit component

x

numeric vector of the type CL@RegionToFit$x where CL is of class 'XPSCoreLine'

y

numeric vector of the type CL@Baseline$y where CL is of class 'XPSCoreLine'

Value

'Ycomponent' returns Baseline subtracted vales of the fit component

Examples

## Not run: 
  Ycomponent(test[["C1s"]]@Component[[2]],test[["C1s"]]@RegionToFit$x, test[["C1s"]]@Baseline$y)

## End(Not run)

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