Learn R Programming

whitebox (version 0.1.0)

stream_link_slope: Stream link slope

Description

Estimates the average slope of each link (or tributary) in a stream network.

Usage

stream_link_slope(d8_pntr, linkid, dem, output, esri_pntr = FALSE,
  zero_background = FALSE, verbose_mode = FALSE)

Arguments

d8_pntr

Input raster D8 pointer file.

linkid

Input raster streams link ID (or tributary ID) file.

dem

Input raster DEM file.

output

Output raster file.

esri_pntr

D8 pointer uses the ESRI style scheme.

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.