View source: R/ir_get_spectrum.R
| ir_get_spectrum | R Documentation |
irir_get_spectrum extracts selected spectra from an object of class ir.
ir_get_spectrum(x, what)
x |
An object of class |
what |
A numeric vector with each element representing a row in |
An integer vector with the same length as wavenumber with the
row indices of x corresponding to the wavenumber values in wavenumber.
x <- ir::ir_sample_data %>% ir::ir_get_spectrum(what = c(5, 9))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.