colSums()
, colMeans()
, rowSums()
, and rowMeans()
for hyperSpec
objectsR/colMeans.R
colSums.Rd
hyperSpec
objects can use the base functions base::colMeans()
,
base::colSums()
, base::rowMeans()
and base::rowSums()
.
hyperSpec
object.
Further parameters to the base functions.
na.rm
defaults to TRUE
for hyperSpec
objects.
Labels for the intensity axis for loadings-like (col) statistics.
Labels for the wavelength axis for scores-like (row) statistics.
colMeans(flu)
#> hyperSpec object
#> 1 spectra
#> 1 data columns
#> 181 data points / spectrum
colSums(flu)
#> hyperSpec object
#> 1 spectra
#> 1 data columns
#> 181 data points / spectrum
colSums(flu)
#> hyperSpec object
#> 1 spectra
#> 1 data columns
#> 181 data points / spectrum
rowSums(flu)
#> hyperSpec object
#> 6 spectra
#> 3 data columns
#> 1 data points / spectrum