f_dispatcher_spct: 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
f_dispatcher_spct(x, .fun, ...)
Arguments
- x
an object of class "generic_spct"
- .fun
an R function with signature function(x, ...)
- ...
additional arguments passed to f