Identifies the source cell to which each grid cell is connected by a least-cost pathway in a cost-distance analysis.
cost_allocation(source, backlink, output, verbose_mode = FALSE)
Input source raster file.
Input backlink raster file generated by the cost-distance tool.
Output raster file.
Sets verbose mode. If verbose mode is False, tools will not print output messages.
Returns the tool text outputs.