ls_2d: LS_{2D}

View source: R/ls_2d.R

ls_2dR Documentation

LS_{2D}

Description

This function calculates an LS-factor from WATEM/SEDEM model as described in Batista et al. (2022).

Usage

ls_2d(.dem, .weights, .threshold = 120, saga_obj = saga)

Arguments

.dem

SpatRaster. A single layer with elevation values. Values should have the same unit as the map units, or in meters when the crs is longitude/latitude

.weights

SpatRaster.

.threshold

Numeric. A value specifying a flow threshold in meters. Default is 120 m

saga_obj

SAGA-GIS geoprocessor object from saga_gis with raster_backend = "terra"

Value

SpatRaster

References

Batista, P. V. G., Fiener, P., Scheper, S., and Alewell, C.: Data and code for: A conceptual model-based sediment connectivity assessment for patchy agricultural catchments, Zenodo, https://doi.org/10.5281/zenodo.6560226, 2022.


atsyplenkov/rusleR documentation built on Feb. 24, 2023, 9:04 a.m.