powered by
as.data.frame
x@data
as.long.df
as.matrix returns the spectra matrix x@data$spc
as.matrix
x@data$spc
## S3 method for class 'hyperSpec,missing,missing': as.data.frame(x, row.names = NULL, optional = FALSE, \dots) as.long.df (x, rownames = FALSE) ## S3 method for class 'hyperSpec': as.matrix(x, \dots)
hyperSpec
.rownames
[
stack and melt for other functions producing long-format data.frames.
stack
melt
as.data.frame (chondro [1:3,, 600:620]) as.matrix (chondro [1:3,, 600:620])
Run the code above in your browser using DataLab