get_cost_distance: Derive cost distance function from masked slope

View source: R/valley.R

get_cost_distanceR Documentation

Derive cost distance function from masked slope

Description

Derive cost distance function from masked slope

Usage

get_cost_distance(slope, river, target = 0)

Arguments

slope

raster of slope data

river

vector data of river

target

value for cost distance calculation

Value

raster of cost distance


rcrisp documentation built on Aug. 8, 2025, 6:42 p.m.