Learn R Programming

whitebox (version 0.1.0)

cost_allocation: Cost allocation

Description

Identifies the source cell to which each grid cell is connected by a least-cost pathway in a cost-distance analysis.

Usage

cost_allocation(source, backlink, output, verbose_mode = FALSE)

Arguments

source

Input source raster file.

backlink

Input backlink raster file generated by the cost-distance tool.

output

Output raster file.

verbose_mode

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

Value

Returns the tool text outputs.