Learn R Programming

chronosphere (version 0.4.1)

minValue,RasterArray-method: Minimum and maximum values in a RasterArray object

Description

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

Usage

# S4 method for RasterArray
minValue(x, vec = FALSE)

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

Value

A numeric vector.

Arguments

x

a RasterArray class object.

vec

Should the dimensions of the RasterArray be omitted?

Examples

Run this code
data(dems)
rangeVals <- cbind(
  minValue(dems),
  maxValue(dems)
)

Run the code above in your browser using DataLab