correlogram(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) covariogram(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)
The return object has an attribute call with an image of the call that produced the object.
The covariogram is a measure of spatial covariance as a function of distance. The correlogram is a standardized covariogram where the values are between -1 and 1. These functions make a call to the function variogram with the argument type set to "correlogram" or "covariogram". The computations are based on a modified version of the gamv2 subroutine from GSLIB (Deutsch and Journel, 1992).
Deutsch, Clayton V. and Journel, Andre G. (1992). GSLIB Geostatistical Software Library and User's Guide. Oxford University Press, New York.
# an omnidirectional correlogram c1 <- correlogram(log(tcatch+1) ~ lat + long, data=scallops) plot(c1) # correlograms in 0, 45, 90 and 135 degrees directions c2 <- correlogram(log(tcatch+1) ~ loc(lat,long), data=scallops, azimuth=c(0,45,90,135), tol.azimuth=22.5) plot(c2)