"speclib"(spectra, wavelength, ...)
"speclib"(spectra, wavelength, ...)
"speclib"(spectra, wavelength, ...)
"speclib"(spectra, wavelength, ...)
"speclib"(spectra, wavelength, ...)
"speclib"(spectra, wavelength, ...)
"speclib"(spectra, wavelength, ...)
"speclib"(spectra, wavelength, ...)
"speclib"(spectra, wavelength, ...)
"speclib"(spectra, wavelength, ...)
"speclib"(spectra, wavelength, ...)
"print"(x)
"show"(object)
createspeclib(spectra, wavelength, fwhm = NULL, attributes = NULL, usagehistory = NULL, transformation = NULL, continuousdata = "auto", wlunit = "nm", xlabel = "Wavelength", ylabel = "Reflectance", rastermeta = NULL)
is.speclib(x)
'data frame'
, 'matrix'
, 'list'
or 'character string'
. In the latter case x is interpreted as path to raster object and read by readGDAL
. For conversion from Speclib
the object must be of class Speclib
.
rastermeta
to create valid objects.
Speclib
containing the following slots is returned:spectra
.
attribute
.
usagehistory
.
rastermeta
.
Speclib
.
Speclib
, plot
, readGDAL
, mask
, data(spectral_data)
spectra <- spectra(spectral_data)
wavelength <- spectral_data$wavelength
spectra <- speclib(spectra,wavelength)
Run the code above in your browser using DataLab