R: Calculate absorptance from spectral absorptance.

absorptance_spct {photobiology} | R Documentation

## Calculate absorptance from spectral absorptance.

### Description

This function returns the summary absorptance for a given waveband of a `object_spct` object

### Usage

    absorptance_spct(spct, w.band = NULL, quantity = "average",
      wb.trim = getOption("photobiology.waveband.trim", default = TRUE),
      use.hinges = getOption("photobiology.use.hinges", default = NULL))

### Arguments

`spct` | object_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", "contribution", "contribution.pc", "relative" or "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

[Package photobiology version 0.9.21 Index]