wavelength {visa}R Documentation

Access the wavelength of Spectra

Description

Construct generic functions for the Spectra object, spectra.data.frame, and spectra.matrix.

Usage

wavelength(object, ...)

## S4 method for signature 'Spectra'
wavelength(object, ...)

## S4 method for signature 'data.frame'
wavelength(object, ...)

## S4 method for signature 'matrix'
wavelength(object, ...)

Arguments

object

A object of Spectra

...

Other options (... T/F with unit)

Details

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

Examples

library(visa)
# For S4 class Spectra
wavelength(NSpec.DB)
# For spectra data.frame format
wavelength(NSpec.DF)


[Package visa version 0.1.0 Index]