acor_table: Calculates correlogram values on a raster using fft.

Description Usage Arguments Value References

View source: R/acorr_table.R

Description

Applies the Wiener-Khinchin theorem to extract spatial autocorrelation using Fast Fourier Transform techniques. This results in an extremely fast way to calculate a complete correlogram (correlation as a function of distance) for a raster image.

Usage

1
acor_table(x, maxdist = 1500, verbose = F)

Arguments

x

A raster* object. Missing values are indicated by NA.

maxdist

Maximum distance (in km) to include in correlogram table. All possible distances are calculated using FFT, then trimmed to this value.

Value

The table of distances

References

en.wikipedia.org/wiki/WienerKhinchin_theorem

Xianlin Ma, Tingting Yao, A program for 2D modeling (cross) correlogram tables using fast Fourier transform, Computers & Geosciences, Volume 27, Issue 7, August 2001, Pages 763-774, ISSN 0098-3004, http://dx.doi.org/10.1016/S0098-3004(01)00007-3.

http://www.johnloomis.org/ece563/notes/freq/autoself/autoself.htm

http://www.seas.upenn.edu/~ese502/NOTEBOOK/Part_II/3_Spatially_Dependent_Random_Effects.pdf


AdamWilsonLab/rasterAutocorr documentation built on March 19, 2020, 12:01 a.m.