XPSremove: XPSremove Rests selected processing elements from XPSCoreLine

XPSremoveR Documentation

XPSremove Rests selected processing elements from XPSCoreLine

Description

The function is designed to erase the content of selected slots:
"all" = it resets all the slots. This is the default value if what is missing. See examples.
"fit" = it resets the Fit slot.
"components" = it resets the Components slot indicated by the number. If number is missing then all the components will be reset.
"baseline" = it resets the Baseline slot.
"regionToFit" = it removes only and any link.

Usage

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.

Value

'XPSremove' returns the object XPSCoreLine with erased slots.

See Also

XPSCoreLine


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