summary: The functions

Description Usage Arguments Details Value See Also Examples

Description

all, any,

Usage

1
2
3
4
5
6
7
8
9
## 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

1
2
3
4
5
6
7
8
9
	range (flu) 


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

all_wl (flu > 100)

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

hyperSpec documentation built on Sept. 13, 2021, 5:09 p.m.