This function returns the mean absorbance for a given waveband of a absorbance spectrum.
absorbance_spct(spct, w.band, quantity, wb.trim, use.hinges, naming, ...)
filter_spct
waveband or list of waveband objects or a numeric vector of length two. The waveband(s) determine the region(s) of the spectrum that are summarized. If a numeric range is supplied a waveband object is constructed on the fly from it.
character string One of "average" or "mean", "total", "contribution", "contribution.pc", "relative" or "relative.pc"
logical Flag, if TRUE wavebands crossing spectral data boundaries are trimmed and otherwise ignored.
logical Flag indicating whether to use hinges to reduce interpolation errors
character one of "long", "default", "short" or "none". Used to select the type of names to assign to returned value.
other arguments (possibly used by derived methods).