R/valley.R
get_cost_distance.Rd
Derive cost distance function from masked slope
get_cost_distance(slope, river, target = 0)
raster of slope data
vector data of river
value for cost distance calculation
raster of cost distance