Learn R Programming

hsdar (version 0.5.1)

wavelength: Handling wavelength and fwhm

Description

Returning and setting wavelength and full-width-half-max (fwhm) values in Speclib and HyperSpecRaster

Usage

"wavelength"(object)
"wavelength"(object) <- value
"wavelength"(object) <- value
"wavelength"(object)
"wavelength"(object) <- value
"fwhm"(object)
"fwhm"(object) <- value

Arguments

object
Object of class Speclib or HyperSpecRaster.
value
Numeric vector or data.frame containing wavelength values.

Value

For wavelength<- and fwhm<-, the updated object. Otherwise a numeric vector of the wavelength and fwhm-values is returned.

See Also

Speclib, HyperSpecRaster

Examples

Run this code
data(spectral_data)

wavelength(spectral_data)

Run the code above in your browser using DataLab