MapChecker {DMMF}R Documentation

Map checker for raster layers

Description

Simple boundary, sink and stand checker for DEMs (Digital Elevation Models).

Usage

    MapChecker( DEM )

Arguments

DEM

RasterLayer object of digital elevation model (DEM) which needs sinkfill for DMMF model

Details

Simple boundary, sink and stand checker for DEMs (Digital Elevation Models). The code defines a cell as a

Value

The output of the function MapChecker is a RasterLayer object of the boundary, sink, and stand.

Author(s)

Kwanghun Choi

See Also

Potato.Convex for the description of the data.

Examples

## Not run: 
## Load example data for test running B_Checker function
data(Potato.Convex)
attach(Potato.Convex)
## Run B_Checker function with original DEM which has internal sinks.
DEM <- s.map$DEM_original
MapCheck <- MapChecker( DEM )
## Check maps
par(mfrow=c(2,2))
plot(DEM)
plot(MapCheck$boundary)
plot(MapCheck$sink)
plot(MapCheck$stand)

## End(Not run)

[Package DMMF version 0.5.1.2 Index]