Summary {hyperSpec}R Documentation

Math Functions for hyperSpec Objects

Description

The functions

all, any,

sum, prod,

min, max, and

range

for hyperSpec objects.

Usage

## S4 method for signature 'hyperSpec':
all(x, ..., na.rm = FALSE)
## S4 method for signature 'hyperSpec':
any(x, ..., na.rm = FALSE)
## S4 method for signature 'hyperSpec':
sum(x, ..., na.rm = FALSE)
## S4 method for signature 'hyperSpec':
prod(x, ..., na.rm = FALSE)
## S4 method for signature 'hyperSpec':
min(x, ..., na.rm = FALSE)
## S4 method for signature 'hyperSpec':
max(x, ..., na.rm = FALSE)
## S4 method for signature 'hyperSpec':
range(x, ..., na.rm = FALSE)

Arguments

x the hyperSpec object
... further objects
na.rm logical indicating whether missing values should be removed

Details

All these functions work on the spectra matrix.

Value

a numeric

Author(s)

C. Beleites

See Also

S4groupGeneric for group generic methods.

Summary for the base summary functions.

Arith for arithmetic operators, Comparison for comparison operators, and Math for group generic functions working on hyperSpec objects.

Examples

        range (flu) 

[Package hyperSpec version 0.95 Index]