GetisOrd: Getis-Ord G* statistics using a weight matrix. Data on the...

Description Usage Arguments Value Author(s) Examples

Description

Getis-Ord G* statistics using a weight matrix. Data on the border are padded with the mean value during convolution.

Usage

1

Arguments

r

Input raster

w

Square weight matrix with odd number of rows/columns.

st

Expecting a list of local statistics, see GetisOrdStandardStats and GetisOrdLocalStats

Value

New raster of the same size as the original input raster r.

Author(s)

Viliam Simko

Examples

1
2
3
4
library(raster)
r <- raster(matrix(rnorm(400), 20))
w <- weight_matrix_circular_fade(7, 2)
plot(GetisOrd(r, w))

biggis-project/soh documentation built on May 12, 2019, 8:30 p.m.