powered by
Calculates the Pike (1971) Surface Relief Ratio
srr(x, s = 5, ...)
A terra SpatRaster object of Pike's (1971) Surface Relief Ratio
A terra SpatRaster object
Focal window size
Additional arguments passed to terra::lapp
Jeffrey S. Evans <[email protected]>
Describes rugosity in continuous raster surface within a specified window. The implementation of SRR can be shown as: (mean(x) - min(x)) / (max(x) - min(x))
# \donttest{ library(terra) elev <- rast(system.file("extdata/elev.tif", package="spatialEco")) r.srr <- srr(elev, s=5) plot(r.srr, main="Surface Relief Ratio") # }
Run the code above in your browser using DataLab