| check_spectrum {photobiology} | R Documentation |
Checks spectral irradiance data in numeric vectors for
compliance with assumptions used in calculations.
check_spectrum(w.length, s.irrad)
w.length |
numeric vector of wavelengths (nm). |
s.irrad |
numeric Corresponding vector of spectral (energy) irradiances (W m-2 nm-1). |
A single logical value indicating whether test was passed or
not
Other data validity check functions: check_spct,
check_w.length
with(sun.data, check_spectrum(w.length, s.e.irrad))