Learn R Programming

geocmeans (version 0.3.4)

adj_spconsist_arr_window_globstd: Adjusted spatial inconsistency index for rasters

Description

Adjusted spatial inconsistency index for rasters

Usage

adj_spconsist_arr_window_globstd(data, memberships, window, mindist = 1e-11)

Value

a double, the adjusted spatial inconsitency index

Arguments

data

an arma cube of dimension nr,nc,ns

memberships

an arma cube of dimension nr, nc, ks

window

a matrix representing the neighbouring of each pixel

mindist

A minimum value for distance between two observations. If two neighbours have exactly the same values, then the euclidean distance between them is 0, leading to an infinite spatial weight. In that case, the minimum distance is used instead of 0.