dimnames,hyperSpec-method {hyperSpec} | R Documentation |
dimnames for hyperSpec objects
Description
hyperSpec objects can have row- and column names like data.frames. The "names" of the wavelengths
are treated separately: see wl
Usage
## S4 method for signature 'hyperSpec'
dimnames(x)
## S4 method for signature 'hyperSpec'
rownames(x, do.NULL = TRUE, prefix = "row")
## S4 replacement method for signature 'hyperSpec'
rownames(x) <- value
## S4 method for signature 'hyperSpec'
colnames(x, do.NULL = TRUE, prefix = "col")
## S4 replacement method for signature 'hyperSpec'
colnames(x) <- value
Arguments
x |
the hyperSpec object |
do.NULL |
handed to |
prefix |
|
value |
the new names |
Author(s)
C. Beleites
See Also
wl
for the wavelength dimension
Examples
dimnames (flu)
rownames (flu)
colnames (chondro)
[Package hyperSpec version 0.100.2 Index]