Learn R Programming

topmodel (version 0.7.3)

subcatch: Identify a hydrological catchment based on a single direction flow algorithm

Description

Identify a hydrological catchment based on a single direction flow algorithm

Usage

subcatch(DEM,outlet)

Arguments

DEM

A matrix representing a digital elevation model [m] with equally sized pixels and equal x and y resolution

outlet

A vector containing the row and column indices of the pixel representing the catchment outlet.

Value

A binary matrix of the same size as DEM.

References

See http://paramo.cc.ic.ac.uk/topmodel_tutorial for examples.

See Also

topmodel