spatialEco (version 1.3-2)

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
# NOT RUN {
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 DataCamp Workspace