rownames yields the names of the rows (spectra) of a hyperSpec object,
colnames the names of the data colums, and
dimnames both together with the names of the wavelengths (see
below).
Usage
## S3 method for class 'hyperSpec':
colnames(x, do.NULL = TRUE, prefix = "col")
## S3 method for class 'hyperSpec':
rownames(x, do.NULL = TRUE, prefix = "row")
## S3 method for class 'hyperSpec':
dimnames(x)