NAME
r.object.spatialautocor - Spatial autocorrelation of raster objects
KEYWORDS
raster,
statistics,
spatial autocorrelation
SYNOPSIS
r.object.spatialautocor
r.object.spatialautocor --help
r.object.spatialautocor [-d] object_map=name variable_map=name method=string [--help] [--verbose] [--quiet] [--ui]
Flags:
- -d
- Also take into account diagonal neighbors
- --help
- Print usage summary
- --verbose
- Verbose module output
- --quiet
- Quiet module output
- --ui
- Force launching GUI dialog
Parameters:
- object_map=name [required]
- Raster input map with objects
- variable_map=name [required]
- Raster input map with variable
- method=string [required]
- Method for spatial autocorrelation
- Options: moran, geary
r.object.spatialautocor calculates global spatial autocorrelation
of the raster objects in the
object_map based on the values in the
variable_map. The user can choose between Moran's I or Geary's G
indicator using the
method parameter.
At this stage, neighborhood is simply defined by an adjancy matrix. The
user can choose whether to also accept diagonal neighborhood by setting
the -d flag.
The module depends on the addon
r.neighborhoodmatrix
which needs to be installed.
Calculate the spatial autocorrelation of altitude in the elevation map using
individual patches in the landclass96 (North Carolina sample dataset) as objects:
g.region raster=elevation
r.clump landclass96 output=objects
r.object.spatialautocor ob=objects var=elevation method=moran
r.object.spatialautocor ob=objects var=elevation method=geary
Moran, P.A.P., 1950. Notes on Continuous Stochastic Phenomena. Biometrika 37, 17-23.
https://dx.doi.org/10.2307%2F2332142
Geary, R.C., 1954. The Contiguity Ratio and Statistical Mapping. The Incorporated Statistician 5, 115.
https://dx.doi.org/10.2307%2F2986645
r.neighborhoodmatrix
Moritz Lennert
Last changed: $Date: 2017-02-28 21:13:17 +0100 (Tue, 28 Feb 2017) $
SOURCE CODE
Available at: r.object.spatialautocor source code (history)
Main index |
Raster index |
Topics index |
Keywords index |
Graphical index |
Full index
© 2003-2019
GRASS Development Team,
GRASS GIS 7.4.5svn Reference Manual