Rdocumentation
powered by
Learn R Programming
photobiology (version 0.9.6)
resp_spct: Calculate response from spectral response
Description
This function returns the mean response for a given waveband and a response spectrum.
Usage
resp_spct(spct, w.band, unit.out, quantity, time.unit, wb.trim, use.hinges, ...)
Arguments
spct
an object of class response_spct"
w.band
a waveband object or a list of waveband objects
unit.out
character with allowed values "energy", and "photon", or its alias "quantum"
quantity
character with allowed values "total", "average" ("mean"), "contibution", "contribution.pc", "relative", "relative.pc"
wb.trim
logical if TRUE wavebands crossing spectral data boundaries are trimmed, if FALSE, they are discarded
use.hinges
logical indicating whether to use hinges to reduce interpolation errors
...
other arguments
Value
a single numeric value expressed either as a fraction of one or a percentage, or a vector of the same length as the list of wave.bands.