Learn R Programming

photobiology (version 0.10.6)

integrate_spct: Integrate spectral data.

Description

This function gives the result of integrating spectral data over wavelengths.

Usage

integrate_spct(spct)

Arguments

spct

generic_spct

Value

One or more numeric values with no change in scale factor: e.g. [W m-2 nm-1] -> [W m-2]. Each value in the returned vector corresponds to a variable in the spectral object, except for wavelength. For non-numeric variables the returned value is NA.

Examples

Run this code
# NOT RUN {
integrate_spct(sun.spct)

# }

Run the code above in your browser using DataLab