ir_bc_rubberband | R Documentation |
ir_bc_rubberband
performs baseline correction for infrared spectra
using a rubberband algorithm. ir_bc_rubberband
is an extended wrapper
function for hyperSpec::spc.rubberband()
.
ir_bc_rubberband(x, return_bl = FALSE)
x |
An object of class |
return_bl |
A logical value indicating if for each spectrum the baseline
should be returned instead of the corrected intensity values
( |
An object of class ir
with the baseline corrected spectra and,
if returnbl = TRUE
, the baselines.
ir_bc()
x1 <- ir::ir_sample_data %>% ir::ir_bc_rubberband(return_bl = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.