vario.grid {RGeostats}  R Documentation 
Computes various types of experimental variograms on a regular grid.
vario.grid(db, dirincr = NA, nlag = NA, calcul = "vg", opt.code=0, tolcode=0, dates=NA, means=NA)
db 
The 
dirincr 
A matrix giving the grid indices for the different directions in which the variograms must be calculated. When absent or in case of error, one direction is generated for each dimension of the space. When provided as a matrix, its first dimension must be equal to the space dimension, its second dimension gives the number of directions to be calculated. When provided as a list or a single element, as many directions are generated as there are elements in the list: the element in the list is considered as the angles of a rotation in the XoY plane. 
nlag 
A vector containing the number of lags per direction. If a constant is provided, it will serve for all the directions. 
calcul 
Character string giving the type of structure to compute:

opt.code 
Array containing the option concerning the use of the code for each direction. This option defines the strategy for the code usage when considering a pair of samples:

tolcode 
Array giving the maximum distance between the codes of the two samples for each direction. 
dates 
When defined and if the 'time' locator is defined, this value corresponds to the bounds of the Date Intervals. It is organized as follows:

means 
Array corresponding to the estimated means of the variable using for the Poisson variogram calculation 
An experimental varioclass
structure.