sdq | R Documentation |
Calculates the root mean square slope of a raster or matrix surface using the two-point method.
sdq(x)
x |
A raster or matrix. |
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).
This function is based on the equations found at https://www.ntmdt-si.ru/data/media/files/manuals/image_analisys_p9_nov12.e.pdf.
# import raster image
data(normforest)
normforest <- terra::unwrap(normforest)
# calculate root mean square slope
Sdq <- sdq(normforest)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.