sdq6 | R Documentation |
Calculates the area root mean square slope of a raster or matrix surface using the seven-point method.
sdq6(x)
x |
A raster or matrix. |
A numeric value representing the seven-point root mean square slope, Sdq6. 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 area root mean square slope
Sdq6 <- sdq6(normforest)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.