dimnames: dimnames for hyperSpec objects

Description Usage Arguments Author(s) See Also Examples

Description

hyperSpec objects can have row- and column names like data.frames. The "names" of the wavelengths are treated separately: see wl

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
## 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 rownames or colnames: logical. Should this create names if they are NULL?

prefix

handed to rownames or colnames

value

the new names

Author(s)

C. Beleites

See Also

wl for the wavelength dimension

dimnames

rownames

colnames

Examples

1
2
3
dimnames (flu)
rownames (flu)
colnames (chondro)

GegznaV/hyperSpec2 documentation built on Dec. 27, 2019, 9:43 a.m.