Summary {hyperSpec}R Documentation

The functions

Description

all, any,

Usage

## S4 method for signature 'hyperSpec'
Summary(x, ..., na.rm = FALSE)

## S4 method for signature 'hyperSpec'
is.na(x)

all_wl(expression, na.rm = FALSE)

any_wl(expression, na.rm = FALSE)

Arguments

x

hyperSpec object

...

further objects

na.rm

logical indicating whether missing values should be removed

expression

expression that evaluates to a logical matrix of the same size as the spectra matrix

Details

sum, prod,

min, max,

range, and

is.na

for hyperSpec objects.

All these functions work on the spectra matrix.

Value

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

See Also

Summary for the base summary functions.

all.equal and isTRUE

Examples


	range (flu) 


is.na (flu [,, 405 ~ 410]);

all_wl (flu > 100)

any_wl (flu > 300)
! any_wl (is.na (flu))

[Package hyperSpec version 0.100.2 Index]