Learn R Programming

photobiology (version 0.11.3)

check_w.length: 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)

Value

a single logical value indicating whether test was passed or not

Arguments

w.length

numeric array of wavelength (nm)

See Also

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

Examples

Run this code

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

Run the code above in your browser using DataLab