Learn R Programming

photobiology (version 0.11.3)

wb2spct: Create spectrum from wavebands

Description

Create a generic_spct object with wavelengths from wavebands in a list.

Usage

wb2spct(w.band)

Value

A generic.spectrum object, with columns w.length set to the

union of all boundaries and hinges defined in the waveband(s). Different spectral data variables are set to zero and added making the returned value compatible with classes derived from generic_spct.

Arguments

w.band

waveband or list of waveband objects The waveband(s) determine the wavelengths in variable w.length of the returned spectrum

See Also

Other tagging and related functions: is_tagged(), tag(), untag(), wb2rect_spct(), wb2tagged_spct()