powered by
Same as RRI but instead of computing the mean of the absolute differences of order 2, the minimum is computed. The input is the DEM/image (no need to detrend).
RRIMin(x, ...)# S3 method for numeric RRIMin(x, ...)# S3 method for SpatRaster RRIMin(x, ..., .method = c("rcpp", "r"))
# S3 method for numeric RRIMin(x, ...)
# S3 method for SpatRaster RRIMin(x, ..., .method = c("rcpp", "r"))
isotropic roughness (in the same units of input)
A DEM/image 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
Either r or rcpp (fast batch processing using C++)
r
rcpp
Trevisani S., Teza G., Guth P.L., 2023. Hacking the topographic ruggedness index. Geomorphology, tools:::Rd_expr_doi("doi:10.1016/j.geomorph.2023.108838").
library(terra) dem= rast(paste(system.file("extdata", package = "SurfRough"), "/trento1.tif",sep="")) roughRRImin=RRIMin(dem) plot(roughRRImin)
Run the code above in your browser using DataLab