View source: R/ir_interpolate.R
ir_interpolate | R Documentation |
ir
object for new wavenumber valuesir_interpolate
interpolates intensity values for infrared spectra for
new wavenumber values.
ir_interpolate(x, start = NULL, dw = 1, return_ir_flat = FALSE)
x |
An object of class |
start |
A numerical value indicating the start wavenumber value relative
to which new wavenumber values will be interpolated. The value is not allowed
to be < |
dw |
A numerical value representing the desired wavenumber value difference between adjacent values. |
return_ir_flat |
Logical value. If |
An object of class ir
(or ir_flat
, if return_ir_flat = TRUE
),
containing the interpolated spectra. Any NA
values resulting from
interpolation will be automatically dropped.
x <-
ir::ir_sample_data |>
ir::ir_interpolate(start = NULL, dw = 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.