colSums: colSums, colMeans, rowSums and rowMeans functions for...

Description Usage Arguments See Also Examples

Description

hyperSpec objects can use the base functions colMeans, colSums, rowMeans and rowSums.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## S4 method for signature 'hyperSpec'
colMeans(x, na.rm = TRUE, ..., label.spc)

## S4 method for signature 'hyperSpec'
colSums(x, na.rm = TRUE, ..., label.spc)

## S4 method for signature 'hyperSpec'
rowMeans(x, na.rm = TRUE, ..., label.wavelength)

## S4 method for signature 'hyperSpec'
rowSums(x, na.rm = TRUE, ..., label.wavelength)

Arguments

x

hyperSpec object

na.rm, ...

further parameters to the base functions

na.rm defaults to TRUE for hyperSpec objects.

label.spc

labels for the intensity axis for loadings-like (col) statistics

label.wavelength

labels for the wavelength axis for scores-like (row) statistics

See Also

colSums

Examples

1
2
3
4
colMeans (flu)
colSums (flu)
colSums (flu)
rowSums (flu)

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