get_next: Get value of next pixel following flow direction.

View source: R/utils.R

get_nextR Documentation

Get value of next pixel following flow direction.

Description

Compute for each pixel of a raster the value of the following pixel according to flow direction

Usage

get_next(rast, dir)

Arguments

rast

Raster (RasterLayer)

dir

Flow direction raster (RasterLayer)


VincentGodard/gtbox documentation built on Sept. 4, 2022, 3:46 a.m.