fshift_spct: fshift a spectrum

Description

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.

Usage

1
fshift_spct(spct, range, col.names, f, ...)

Arguments

spct

generic_spct The spectrum to be normalized

range

an R object on which range() returns a vector of length 2, with min annd max wavelengths (nm)

col.names

character The name of the variable to fscale

f

function A summary function to be applied to spct

...

other arguments passed to f()

Value

a new object of the same class as spct.


Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.