flowacc: Calculates accumulated flow

flowaccR Documentation

Calculates accumulated flow

Description

flowacc is used by pcad() to calculate accumulated flow to each cold air drainage basin

Usage

flowacc(dem)

Arguments

dem

a raster object, two-dimensional array or matrix of elevations.

Details

Accumulated flow is expressed in terms of number of cells.

Value

a raster object, two-dimensional array or matrix of accumulated flow.

Examples

library(raster)
fa <- flowacc(dtm100m)
plot(fa, main = 'Accumulated flow')

ilyamaclean/microclima documentation built on Oct. 31, 2023, 11:41 p.m.