make_wl_consistent {photobiology} | R 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) |
[Package photobiology version 0.13.1 Index]