variogram(formula, data=<<see below>>, subset=<<see below>>, na.action=<<see below>>, lag=<<see below>>, nlag=20, tol.lag=lag/2, azimuth=0, tol.azimuth=90, bandwidth=1e21, maxdist=<<see below>>, minpairs=6, method="classical")
The return object has an attribute call with an image of the call that produced the object.
The variogram is a measure of spatial correlation. This function uses a modified version of the GSLIB subroutine gamv2 (Deutsch and Journel, 1992).
Cressie, N. and Hawkins, D. M. (1980). Robust estimation of the variogram. Mathematical Geology 12, 115-125.
Deutsch, Clayton V. and Journel, Andre G. (1992). GSLIB Geostatistical Software Library and User's Guide. Oxford University Press, New York.
Matheron, G. (1963). Principles of geostatistics. Economic Geology 58, 1246-1266.
# an omnidirectional variogram v1 <- variogram(ore ~ easting + northing, data=iron.ore) plot(v1) # variograms in 0, 45, 90 and 135 degrees directions v2 <- variogram(ore ~ loc(easting,northing), data=iron.ore, azimuth=c(0,45,90,135), tol.azimuth=22.5) plot(v2)