View source: R/GeostTextureLibrarySharedRoxy.R
RRIK3 | R Documentation |
Extension of RRI using differences of order 3 Accordingly, this version filters out a trend of order 2, so it reduces still more the dependence on slope and partially on curvature. The input is the DEM (no need to detrend).
RRIK3(x, ...)
## S3 method for class 'numeric'
RRIK3(x, ...)
## S3 method for class 'SpatRaster'
RRIK3(x, ..., .method = c("rcpp", "r"))
x |
A DEM as a SpatRaster or a vector of numeric values from a focal window in a DEM from which to compute the index |
... |
reserved for future use |
.method |
Either |
isotropic roughness (in the same units of input)
Trevisani S., Teza G., Guth P.L., 2023. Hacking the topographic ruggedness index. Geomorphology https://doi.org/10.1016/j.geomorph.2023.108838
library(terra)
dem= rast(paste(system.file("extdata", package = "SurfRough"), "/trento1.tif",sep=""))
roughRRIK3=RRIK3(dem)
plot(roughRRIK3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.