calc_local_moran_raster: Local Moran I for raster

View source: R/spatial_indices.R

calc_local_moran_rasterR Documentation

Local Moran I for raster

Description

Calculate the Local Moran I for a numeric raster

Usage

calc_local_moran_raster(rast, window)

Arguments

rast

A RasterLayer or a matrix

window

The window defining the neighbour weights

Value

A RasterLayer or a matrix depending on the input with the local Moran I values

Examples

data("Arcachon")
rast <- Arcachon[[1]]
w <- matrix(1, nrow = 3, ncol = 3)
calc_local_moran_raster(rast, w)

geocmeans documentation built on Oct. 16, 2022, 1:07 a.m.