ir_stack function

Stacks a matrix or data frame with spectra into a list column