Learn R Programming

spatialwarnings (version 3.0.3)

raw_flowlength_uniform: 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)

Value

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

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.

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

Run this code

if (FALSE) { 
raw_flowlength_uniform(arizona[[1]], slope = 20, cell_size = 1)
}


Run the code above in your browser using DataLab