Variogram | R Documentation |
Compute sample (empirical) variogram from spatial data. The function returns a binned variogram and a variogram cloud.
Variogram(x, width, cutoff,...)
x |
a spatial object ( |
width |
the lag size (width of subsequent distance intervals) into which cell pairs are grouped for semivariance estimates. If missing, the cell size (raster resolution) is assigned. |
cutoff |
spatial separation distance up to which cell pairs are included in semivariance estimates; as a default, the length of the diagonal of the box spanning the data is divided by three. |
... |
Additional arguments including |
Variogram is a graph to explore spatial structure in a single variable. A variogram summarizes the spatial relations in the data, and can be used to understand within what range (distance) the data is spatially autocorrelated.
Variogram |
an object containing variogram cloud and the variogram within each distance interval |
Babak Naimi naimi.b@gmail.com
Naimi, B., Hamm, N. A., Groen, T. A., Skidmore, A. K., Toxopeus, A. G., & Alibakhshi, S. (2019). ELSA: Entropy-based local indicator of spatial association. Spatial statistics, 29, 66-88.
file <- system.file('external/dem_example.grd',package='elsa')
r <- raster(file)
plot(r,main='a continuous raster map')
en <- Variogram(r, width=2000)
plot(en)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.