Semivariance \(\sum dz^2/(2N)\) of ordered pairs by lag cell
\((dx, dy)\) of side width, cells centred at multiples of
width up to cutoff (Isaaks and Srivastava 1989).
Usage
VariogramMap(z, coords, cutoff, width)
Arguments
- z
Values.
- coords
Two-column matrix.
- cutoff
Maximum lag per axis.
- width
Cell width.
Value
List with dx, dy, gamma, np (non-empty cells, sorted by dx, dy).
References
Isaaks, E. H. and Srivastava, R. M. (1989). An Introduction
to Applied Geostatistics. Oxford University Press.
Examples
VariogramMap(c(1, 2, 4), rbind(c(0, 0), c(1, 0), c(0, 1)), cutoff = 1, width = 1)
#> $dx
#> [1] -1 -1 0 0 1 1
#>
#> $dy
#> [1] 0 1 -1 1 -1 0
#>
#> $gamma
#> [1] 0.5 2.0 4.5 4.5 2.0 0.5
#>
#> $np
#> [1] 1 1 1 1 1 1
#>