summary: The functions

Description Usage Arguments Details Value See Also Examples

Description

all, any,

Usage

1
2
3
4
5
## S4 method for signature 'hyperSpec'
Summary(x, ..., na.rm = FALSE)

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

Arguments

x

hyperSpec object

...

further objects

na.rm

logical indicating whether missing values should be removed

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
range (flu)
is.na (flu [,, 405 ~ 410]);

Example output

Loading required package: lattice
Loading required package: grid
Loading required package: ggplot2
Package hyperSpec, version 0.98-20161118

To get started, try
   vignette ("introduction", package = "hyperSpec")
   package?hyperSpec 
   vignette (package = "hyperSpec")

If you use this package please cite it appropriately.
   citation("hyperSpec")
will give you the correct reference.

The project homepage is http://hyperspec.r-forge.r-project.org


[1]  27.1500 677.4947
       405 405.5   406 406.5   407 407.5   408 408.5   409 409.5   410
[1,] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE
[2,] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE
[3,] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE
[4,] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE
[5,] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE
[6,] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE

hyperSpec documentation built on May 2, 2019, 5:45 p.m.