absorbance_spct: Calculate absorbance from spectral absorbance.

Description Usage Arguments

View source: R/spct.absorbance.R

Description

This function returns the mean absorbance for a given waveband of a absorbance spectrum.

Usage

1
absorbance_spct(spct, w.band, quantity, wb.trim, use.hinges)

Arguments

spct

filter_spct

w.band

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.

quantity

character string One of "average" or "mean", "total", "contribution", "contribution.pc", "relative" or "relative.pc"

wb.trim

logical Flag if wavebands crossing spectral data boundaries are trimmed or ignored

use.hinges

logical Flag indicating whether to use hinges to reduce interpolation errors


photobiology documentation built on Sept. 11, 2019, 9:06 a.m.