check_w.length: Sanity check of wavelengths (internal function).

View source: R/check.spectrum.r

check_w.lengthR Documentation

Sanity check of wavelengths (internal function).

Description

This function checks a w.length vector for compliance with assumptions used in calculations.

Usage

check_w.length(w.length)

Arguments

w.length

numeric array of wavelength (nm)

Value

a single logical value indicating whether test was passed or not

See Also

Other data validity check functions: check_spct(), check_spectrum(), enable_check_spct()

Examples


with(sun.data, photobiology:::check_w.length(w.length))


photobiology documentation built on Oct. 21, 2023, 1:06 a.m.