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,vars=NA, flag.indicator=FALSE, vario.add=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 |
vars |
Array corresponding to the variance-covariance matrix |
flag.indicator |
When TRUE, the variable which corresponds to the first (and unique) Z-locator is converted beforehand into its indicators. The principle is described next. The target variable is first converted into the lower closest integer value. Then the list of these different integer values is established and sorted in ascending order. Finally the initial variable is converted into indicators of these integer values. |
vario.add |
When defined, the current variogram computation is concatenated to the contents of the current variogram. |
An experimental vario-class
structure.