auto_hinges: Guess whether insertion of hinges is needed or not

Description Usage Arguments Value

View source: R/auto.hinges.r

Description

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

Usage

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

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.

Value

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


photobiology documentation built on April 4, 2021, 5:05 p.m.