Learn R Programming

baseline (version 1.3-5)

baseline-class: Class "baseline"

Description

Stores the result of estimating baselines for one or more spectra.

Arguments

Objects from the Class

The normal way to create objects is with the function baseline. Several baseline algorithms are available. See baseline for details. There is a plot method for the class; see plot,baseline-method.

Slots

baseline:

A matrix with the estimated baselines

corrected:

A matrix with the corrected spectra

spectra:

A matrix with the original spectra

call:

The call to baseline

Methods

getBaseline

signature(object = "baseline"): Extract the estimated baselines

getCall

signature(object = "baseline"): Extract the call to baseline used to create the object

getCorrected

signature(object = "baseline"): Extract the corrected spectra

getSpectra

signature(object = "baseline"): Extract the original spectra

Author

Bjørn-Helge Mevik and Kristian Hovde Liland

Warning

In a future versoion, one of the slots might be removed from the class definition and calculated on the fly instead, in order to save space. Therefore, do use the extractor functions (getSpectra, getBaseline and getCorrected) instead of accessing the slots directly.

See Also

baseline, getBaseline, getSpectra, getCorrected, getCall

Examples

Run this code
showClass("baseline")

Run the code above in your browser using DataLab