data: Retrieves or sets the data slot of a SpectraDataFrame object.

Description Usage Arguments Value Author(s) See Also

Description

Either retrieves the attributes values from the data slot of a SpectraDataFrame object, or upgrades a Spectra object to a SpectraDataFrame object by initialising its data slot by a suitable "data.frame" object.

Usage

1
2
data(object, ...)
data(object) <- value

Arguments

object

an object inheriting from class Spectra

value

a "data.frame" object

...

Ignored

Value

If applied on a "data.frame", either a Spectra or a SpectraDataFrame object. If applied on a Spectra* object, a vector.

Author(s)

Pierre Roudier pierre.roudier@gmail.com

See Also

spectra, wl, SpectraDataFrame-class


pierreroudier/specstore documentation built on May 25, 2019, 6:09 a.m.