Math function dispatcher for spectra

Description

Function that dispatches the function supplied as argument using different variables depending on the class of the spectrum argument.

Usage

1

Arguments

x

an object of class "generic_spct"

.fun

an R function with signature function(x, ...)

...

additional arguments passed to f


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

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