raw_flowlength_uniform: Flow length (uniform slope)

View source: R/task_flowlength.R

raw_flowlength_uniformR Documentation

Flow length (uniform slope)

Description

Compute a simple approximation of the flow length assuming a constant slope

Usage

raw_flowlength_uniform(mat, slope, cell_size)

Arguments

mat

The input matrix (must be a logical matrix)

slope

The slope of the area documented by the matrix (in degrees).

cell_size

The horizontal size of a cell in the matrix (as viewed from above).

Details

This function computes the Flowlength of a given matrix, using a uniform approximation (the slope is constant across the whole matrix, with maximum slope being from the top of the matrix to its bottom), as per Rodriguez et al. (2017). See flowlength_sews for more details.

Value

A named vector of length 1 containing the flow length numerical value

References

Rodriguez, F., A. G. Mayor, M. Rietkerk, and S. Bautista. 2017. A null model for assessing the cover-independent role of bare soil connectivity as indicator of dryland functioning and dynamics. Ecological Indicators.

See Also

flowlength_sews

indictest, to test the significance of indicator values.

Examples


 
raw_flowlength_uniform(arizona[[1]], slope = 20, cell_size = 1)




spatialwarnings documentation built on Sept. 11, 2024, 8:55 p.m.