Closed alexgenin closed 3 years ago
There is now a first stab at an implementation in the package. To speed up variogram computations, a random subset of cells is chosen from the matrix.
These indicators will not make it for spatialwarnings 2.0, but will be integrated later so that we can have the feedback from Jelmer (Nijp, from Nijp et al. 2019)
These are now implemented in the package (still with experimental status).
Nijp et al. (2019) suggest using (semi-)variograms as a way to detect spatial autocorrelation. In their words:
Variograms would indeed be a good addition to the package. On top of just using variogram-based measures of autocorrelation, variograms could be used as an alternative way to measure anisotropy in a given image (complementing the theta-spectrum method to detect if patterns are periodic/anistropic in an image).
However, after a quick look, it seems that variogram implementations in R are designed for cases when you have spatial points with x/y coordinates, and not a raster image. As a consequence, they are quite slow (and thus cannot be repeated 1000 times, which is required to test for significance). We could however use a different implementation, or use our own (probably not too hard to implement).
TODO: