hy_spc2df | R Documentation |
Transpose matrix of spectra in hyperSpec object, add column with wavelengths and return as a dataframe
hy_spc2df(obj)
obj |
hyperSpec object |
A data frame with wavelengths in the first column and each row of hyperSpec object in a separate column.
library(spHelper)
chondro[[]][1,1:6]
hy_spc2df(chondro)[1:6,1:2]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.