Learn R Programming

geocmeans (version 0.3.4)

local_moranI_matrix_window: Local Moran I calculated on a matrix with a given window

Description

Local Moran I calculated on a matrix with a given window

Usage

local_moranI_matrix_window(mat, window)

Value

a double, the value of Moran I

Arguments

mat

a matrix

window

the window to use to define neighbours. 0 can be used to indicate that a cell is not a neighbour