check_spectrum {photobiology} | R Documentation |
Sanity check a spectrum
Description
Checks spectral irradiance data in numeric
vectors for
compliance with assumptions used in calculations.
Usage
check_spectrum(w.length, s.irrad)
Arguments
w.length |
numeric vector of wavelengths [ |
s.irrad |
numeric Corresponding vector of spectral (energy) irradiances
[ |
Value
A single logical
value indicating whether test was passed or
not
See Also
Other data validity check functions:
check_spct()
,
check_w.length()
,
enable_check_spct()
Examples
with(sun.data, check_spectrum(w.length, s.e.irrad))
[Package photobiology version 0.11.2 Index]