WSComputeLength: Compute length to next pixel given drainage direction

View source: R/watershed.r

WSComputeLengthR Documentation

Compute length to next pixel given drainage direction

Description

Compute length to next pixel given drainage direction

Usage

WSComputeLength(drainage, cellsize)

Arguments

drainage

drainage direction vector

cellsize

size of each cell (vector of length 2)

Value

vector of lengths


mtalluto/WatershedTools documentation built on May 21, 2022, 7:49 p.m.