Skip to contents

Extract mean depth or elevation of a DEM

Usage

z(data)

Arguments

data

A DEM in RasterLayer format.

Value

Value: mean depth or elevation of DEM.

Examples

z(horseshoe)
#> [1] -3.263573