ir_flatten | R Documentation |
ir
to objects of class ir_flat
ir_flatten
takes and object of class ir
, extracts the
spectra
column and combines the spectra into an object of class
ir_flat
. Metadata are not retained during flattening.
ir_flatten(x, measurement_id = as.character(seq_len(nrow(x))))
x |
An object of class |
measurement_id |
A character vector an element for each row in |
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.