getWavelengths,aquap_data-method | R Documentation |
Get a numeric vector containing the wavelengths of a given dataset.
## S4 method for signature 'aquap_data'
getWavelengths(object)
## S4 method for signature 'aquap_set'
getWavelengths(object)
object |
An object of class 'aquap_data' as produced e.g. by
|
The wavelengths are simply extracted from the column names of the NIR-data.
A numeric vector containing the wavelengths of the NIR-data of the object.
Other Extract Elements:
getHeader()
,
getcd()
,
getcm()
,
siWl()
,
siWlg()
## Not run:
fd <- gfd()
wls <- getWavelengths(fd)
####
cu <- gdmm(fd)
wls <- getWavelengths(cu[[1]]) # extract the wavelengths from the dataset
# of the first set in the cube
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.