Calculates a variety of landscape metrics on integer rasters using focal approach
focal.lmetrics(...)
... | Parameters to be passed to the modern version of the function |
---|
if (FALSE) { library(landscapemetrics) library(raster) data(landscape) s <- matrix(1, nrow = 3, ncol = 3) ( result <- do.call(stack, window_lsm(landscape, window = s, what = c("lsm_l_pr", "lsm_l_joinent"))) ) plot(result) }