id_speclib: Handling IDs of spectra

idSpeclibR Documentation

Handling IDs of spectra

Description

Returning and setting ID of spectra in Speclib

Usage

idSpeclib(x)
idSpeclib(x) <- value

Arguments

x

Object of class Speclib.

value

Character vector of the same length as nspectra(x), or NULL.

Value

For idSpeclib<-, the updated object. Otherwise a vector giving the ID of each spectrum in Speclib is returned.

Author(s)

Lukas Lehnert

See Also

Speclib

Examples

data(spectral_data)

idSpeclib(spectral_data)

hsdar documentation built on March 18, 2022, 6:35 p.m.