wb2tagged_spct: Create tagged spectrum from wavebands

Description Usage Arguments Value See Also


Create a tagged generic_spct object with wavelengths from the range of wavebands in a list, and names of the same bands as factor levels, and corresponding color definitions. The spectrum is not suitable for plotting labels, symbols, rectangles or similar, as the midpoint of each waveband is not added to the spectrum.


wb2tagged_spct(w.band, use.hinges = TRUE, short.names = TRUE, ...)



waveband or list of waveband objects The waveband(s) determine the region(s) of the spectrum that are tagged and the wavelengths returned in variable w.length


logical Flag indicating whether to use hinges to reduce interpolation errors


logical Flag indicating whether to use short or long names for wavebands


not used in current version


A spectrum as returned by wb2spct but additionally tagged using function tag

See Also

Other tagging and related functions: is_tagged, tag, untag, wb2rect_spct, wb2spct

Search within the photobiology package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.