XPSremove-XPSCoreLine-method: XPSremove

XPSremove,XPSCoreLine-methodR Documentation

XPSremove

Description

method to erase the content of selected slots an object of class 'XPSCoreLine'

Usage

## S4 method for signature 'XPSCoreLine'
XPSremove(
  object,
  what = c("all", "fit", "components", "baseline", "regionToFit"),
  number
)

Arguments

object

XPSCoreLine

what

one of "all", "fit", "components", "baseline", "regionToFit"

number

in case of what='components': the component number will be reset,
if it is missing then all the components will be removed.

Examples

## Not run: 
 test[["C1s"]] <- XPSremove(test[["C1s"]], "baseline")
 test[["C1s"]] <- XPSremove(test[["C1s"]], "all") # this reset everything

## End(Not run)

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