powered by
Calculates a hierarchical scale decomposition of topographic position index
hsp( x, min.scale = 3, max.scale = 27, inc = 4, win = "rectangle", normalize = FALSE )
terra SpatRaster class object of slope position
A terra SpatRaster class object
Minimum scale (window size)
Maximum scale (window size)
Increment to increase scales
Window type, options are "rectangle" or "circle"
Normalize results to 0-1 scale (FALSE | TRUE)
Jeffrey S. Evans <jeffrey_evans@tnc.org>
Murphy M.A., J.S. Evans, and A.S. Storfer (2010) Quantify Bufo boreas connectivity in Yellowstone National Park with landscape genetics. Ecology 91:252-261
# \donttest{ library(terra) elev <- rast(system.file("extdata/elev.tif", package="spatialEco")) hsp27 <- hsp(elev, 3, 27, 4, normalize = TRUE) plot(hsp27) # }
Run the code above in your browser using DataLab