Learn R Programming

hyperSpec (version 0.98-20140523)

colSums: functions for hyperSpec objects

Description

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

Usage

## S3 method for class 'hyperSpec':
colMeans(x, na.rm = TRUE, ...,
    label.spc, user = NULL, short = "colMeans",
    date = NULL)

## S3 method for class 'hyperSpec': colSums(x, na.rm = TRUE, ..., label.spc, user = NULL, short = "colSums", date = NULL)

## S3 method for class 'hyperSpec': rowMeans(x, na.rm = TRUE, ..., label.wavelength, user = NULL, short = "rowMeans", date = NULL)

## S3 method for class 'hyperSpec': rowSums(x, na.rm = TRUE, ..., label.wavelength, user = NULL, short = "rowSums", date = NULL)

Arguments

x
hyperSpec object
label.spc
labels for the intensity axis for loadings-like (col) statistics
label.wavelength
labels for the wavelength axis for scores-like (row) statistics
user,short,date
handed to logentry
na.rm,...
further parameters to the base functions

See Also

colSums