make_wl_consistent: Make wavelengths consistent

View source: R/mspct.row.funs.r

make_wl_consistentR Documentation

Make wavelengths consistent

Description

Ensure wavelengths in all spectra in a mspct object are consistent, filling head and tail of spectral quantities when needed with NAs, and using interpolation if needed. If individual spct objects contain multiple spectra in long form these are split into multiple spct objects, each containing data for one spectrum.

Usage

make_wl_consistent(x, w.length.out = NULL)

Arguments

x

a generic_spct object

w.length.out

numeric vector of wavelengths (nanometres)


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