spatialEco (version 2.0-1)

focal.lmetrics: Focal landscape metrics

Description

Calculates a variety of landscape metrics on integer rasters using focal approach

Usage

focal.lmetrics(...)

Arguments

...

Parameters to be passed to the modern version of the function

Examples

Run this code
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)
}

Run the code above in your browser using DataLab