getMin: Get the extreme values.

Description Usage Arguments Value Examples

Description

Get the maximum/minimum value of a Raster. If it is multilayer, then get the maximums/minimums values of each layer.

Usage

1
2
3
4
5
6
7
8
9
getMin(x)

## S4 method for signature 'RasterAll'
getMin(x)

getMax(x)

## S4 method for signature 'RasterAll'
getMax(x)

Arguments

x

Raster.

Value

A numeric vector.

Examples

1
2
3
4
5
6
7
x <- loadPhoto()
getMax(x)
getMin(x)

x <- makeRimage(480)
getMax(x)
getMin(x)

GastonMauroDiaz/caiman documentation built on Jan. 22, 2022, 4:43 a.m.