Learn R Programming

hyperSpec (version 0.98-20140523)

Summary: The functions

Description

all, any,

Usage

## S3 method for class 'hyperSpec':
Summary(x, ..., na.rm = FALSE)

## S3 method for class 'hyperSpec': is.na(x)

Arguments

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

Value

  • sum, prod, min, max, and range return a numeric, all, any, and is.na a logical.

Details

sum, prod,

min, max,

range, and

is.na

for hyperSpec objects.

All these functions work on the spectra matrix.

See Also

Summary for the base summary functions.

all.equal and isTRUE

Examples

Run this code
range (flu)
is.na (flu [,, 405 ~ 410]);

Run the code above in your browser using DataLab