wl_units | R Documentation |
Retrieves the wavelengths units from Spectra*
object
wl_units(object)
## S4 replacement method for signature 'Spectra'
wl_units(object) <- value
object |
an object inheriting from class |
value |
a character string |
A vector
Pierre Roudier pierre.roudier@gmail.com
# Loading example data
data(oz)
spectra(oz) <- sr_no ~ ... ~ 350:2500
# Print wavelength information
wl(oz)
range(wl(oz))
# Manipulate wavelength information
wl(oz) <- wl(oz) + 1000
wl(oz)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.