calc_raster_spinconsistency: calculate spatial inconsistency for raster

View source: R/spatial_indices.R

calc_raster_spinconsistencyR Documentation

calculate spatial inconsistency for raster

Description

Calculate the spatial inconsistency sum for a set of rasters

Usage

calc_raster_spinconsistency(matrices, window, adj = FALSE, dataset = NULL)

Arguments

matrices

A list of matrices

window

The window to use to define spatial neighbouring

adj

A boolean indicating if the adjusted version of the algorithm must be calculated

dataset

A list of matrices with the original data (if adj = TRUE)

Value

A float: the sum of spatial inconsistency

Examples

# this is an internal function, no example provided

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