ir_interpolate_region {ir} | R Documentation |
Interpolates selected regions in infrared spectra in an ir
object
Description
ir_interpolate_region
linearly interpolates a user-defined region in
infrared spectra.
Usage
ir_interpolate_region(x, range)
Arguments
x |
An object of class |
range |
A
For each row in |
Value
x
with the defined wavenumber region(s) interpolated linearly.
Examples
# interpolation range
range <- data.frame(start = 1000, end = 1500)
# do the interpolation
x <-
ir::ir_sample_data %>%
ir::ir_interpolate_region(range = range)
[Package ir version 0.2.1 Index]