Adjusted spatial inconsistency index for rasters
adj_spconsist_arr_window_globstd(data, memberships, window, mindist = 1e-11)
a double, the adjusted spatial inconsitency index
an arma cube of dimension nr,nc,ns
an arma cube of dimension nr, nc, ks
a matrix representing the neighbouring of each pixel
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.