Description Usage Arguments Value Examples
Integrate over named wavelength ranges of a hyperSpec object.
1 | integrate_wl(x, ..., FUN = integrate_trapezoid)
|
x |
a hyperSpec object. |
... |
(named) selection of wavelength ranges (specify as in subsetting a hyperSpec object by using a tilde). |
FUN |
function to be used for integration (trapezoid approximation as default). |
a hyperspec object with integrated spc
1 2 3 4 | ## Not run:
integrate_wl(chondro, integral_a = 930 ~ 940, integral_b = 1230 ~ 1260)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.