50% off | Unlimited Data & AI Learning
Get 50% off unlimited learning

geodiv (version 1.1.0)

sdq: Root Mean Square Slope of Surface

Description

Calculates the root mean square slope of a raster or matrix surface using the two-point method.

Usage

sdq(x)

Value

A numeric value representing the two-point root mean square slope, Sdq. The units of the returned value are change in z per one unit (pixel).

Arguments

x

A raster or matrix.

References

This function is based on the equations found at https://www.ntmdt-si.ru/data/media/files/manuals/image_analisys_p9_nov12.e.pdf.

Examples

Run this code
# import raster image
data(normforest)
normforest <- terra::unwrap(normforest)

# calculate root mean square slope
Sdq <- sdq(normforest)

Run the code above in your browser using DataLab