R: Math function dispatcher for spectra

f_dispatcher_spct {photobiology} | R Documentation

## 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

[Package photobiology version 0.9.21 Index]