Learn R Programming

photobiology (version 0.11.3)

auto_hinges: Guess whether insertion of hinges is needed or not

Description

Assess from wavelength vector whether insertion of hinges before further calculations is needed.

Usage

auto_hinges(w.length, step.limit = 0.25)

Value

A logical value, TRUE if insertion of hinges is deemed necessary.

Arguments

w.length

numeric vector of wavelengths (nm).

step.limit

numeric value (nm) for step, so that larger wavelength steps trigger insertion of hinges before computations on spectra.