These function returns a spectral object of the same class as the one supplied as argument but with the spectral data on a shifted scale.
fshift_spct(spct, range, col.names, f, ...)
generic_spct The spectrum to be normalized
an R object on which range() returns a vector of length 2, with min annd max wavelengths (nm)
character The name of the variable to fscale
function A summary function to be applied to spct
other arguments passed to f()
a new object of the same class as spct
.