ir_new_ir_flat | R Documentation |
ir_flat
ir_new_ir_flat
is the constructor function for objects of class ir_flat
.
An object of class ir_flat
is a data.frame
where the first
column ("x"
) contains unique x values of spectra (e.g. wavenumbers)
and all remaining columns represent intensity values from spectra
corresponding to the x values.
ir_new_ir_flat(x)
x |
A |
An object of class ir_flat
.
x_flat <- ir::ir_sample_data %>% ir::ir_flatten()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.