Description Usage Arguments Details Examples
Construct generic functions for the Spectra object, spectra.data.frame, and spectra.matrix.
1 2 3 4 5 6 7 8 9 10 | wavelength(object, ...)
## S4 method for signature 'Spectra'
wavelength(object, ...)
## S4 method for signature 'data.frame'
wavelength(object, ...)
## S4 method for signature 'matrix'
wavelength(object, ...)
|
object |
A object of Spectra |
... |
Other options (... T/F with unit) |
A call to new returns a newly allocated object from the class identified by the first argument. This call in turn calls the method for the generic function 'initialize'. Construct a Spectra class by using the
1 2 3 4 5 | library(visa)
# For S4 class Spectra
wavelength(NSpec.DB)
# For spectra data.frame format
wavelength(NSpec.DF)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.