Learn R Programming

whitebox (version 0.1.0)

sink: Sink

Description

Identifies the depressions in a DEM, giving each feature a unique identifier.

Usage

sink(dem, output, zero_background = FALSE, verbose_mode = FALSE)

Arguments

dem

Input raster DEM file.

output

Output raster file.

zero_background

Flag indicating whether a background value of zero should be used.

verbose_mode

Sets verbose mode. If verbose mode is False, tools will not print output messages.

Value

Returns the tool text outputs.