powered by
Calculates the Evans (1972) Martonne's modified dissection
dissection(x, s = 5, ...)
A SpatRaster class object of Martonne's modified dissection
A terra SpatRaster class object
Focal window size
Additional arguments passed to terra::lapp
Jeffrey S. Evans <jeffrey_evans@tnc.org>
Dissection is calculated as: ( z(s) - min(z(s)) ) / ( max(z(s)) - min(z(s)) )
# \donttest{ library(terra) elev <- rast(system.file("extdata/elev.tif", package="spatialEco")) d <- dissection(elev, s=3) plot(d, main="dissection") # }
Run the code above in your browser using DataLab