| ir_add {ir} | R Documentation | 
Add infrared spectra
Description
ir_add takes two objects of class ir, x and
y, and adds the intensity values of spectra in matching rows from
y to that of x.
Usage
ir_add(x, y)
Arguments
| x | An object of class  | 
| y | An object of class  | 
Value
x where for each spectrum the respective intensity values in
y are added.
Examples
x1 <-
  ir::ir_add(ir::ir_sample_data, ir::ir_sample_data)
x1 <-
  ir::ir_add(ir::ir_sample_data, ir::ir_sample_data[1, ])
[Package ir version 0.2.1 Index]