moranI_matrix_window {geocmeans}R Documentation

Moran I calculated on a matrix with a given window

Description

Moran I calculated on a matrix with a given window

Usage

moranI_matrix_window(mat, window)

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

Value

a double, the value of Moran I


[Package geocmeans version 0.3.4 Index]