Conversion of a hyperSpec object into a data.frame or matrix as.data.frame returns x@data (as data.frame) as.matrixreturns the spectra matrix x@data$spc as matrix
as.data.frame
x@data
as.matrix
x@data$spc
Useful links