extremeValues: Minimum and maximum values in a RasterArray object

Description Usage Arguments Value Examples

Description

The method is inherited from the RasterStack class. Postitions of layers are conserved in the output. (including missing layers)

Usage

1
2
3
4
5
## S4 method for signature 'RasterArray'
minValue(x, vec = FALSE)

## S4 method for signature 'RasterArray'
maxValue(x, vec = FALSE)

Arguments

x

a RasterArray class object.

vec

Should the dimensions of the RasterArray be omitted?

Value

A numeric vector.

Examples

1
2
3
4
5
data(dems)
rangeVals <- cbind(
  minValue(dems),
  maxValue(dems)
)

chronosphere documentation built on April 19, 2021, 1:07 a.m.