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()
.
# S4 method for hyperSpec colMeans(x, na.rm = TRUE, ..., label.spc) # S4 method for hyperSpec colSums(x, na.rm = TRUE, ..., label.spc) # S4 method for hyperSpec rowMeans(x, na.rm = TRUE, ..., label.wavelength) # S4 method for hyperSpec rowSums(x, na.rm = TRUE, ..., label.wavelength)
x |
|
---|---|
na.rm, ... | further parameters to the base functions
|
label.spc | labels for the intensity axis for loadings-like (col) statistics |
label.wavelength | labels for the wavelength axis for scores-like (row) statistics |
#> hyperSpec object #> 1 spectra #> 1 data columns #> 181 data points / spectrumcolSums(flu)#> hyperSpec object #> 1 spectra #> 1 data columns #> 181 data points / spectrumcolSums(flu)#> hyperSpec object #> 1 spectra #> 1 data columns #> 181 data points / spectrum#> hyperSpec object #> 6 spectra #> 3 data columns #> 1 data points / spectrum