vario.create {RGeostats} | R Documentation |
Create or append a variogram from arguments
vario.create(lag, gg, hh = NA, sw = NA, nvar = 1, ndim = 2, toldis = 0, tolang = 0, bench=0, cylrad=0, codir = NA, mean = NA, vars = NA, dates=NA, vario = NA)
lag |
Lag value used for the calculation. The number of lags is derived from the dimension of the array 'gg' divided by nvs2=nvar*(nvar+1)/2. |
gg |
Array containing the variogram value per class |
hh |
Array containing the variogram average distances per class. If this array is not provided, it is established as a multiple of the lag |
sw |
Array containing the variogram weight per class (usually refers to the number of pairs). If not provided, this array is constantly set to 1. |
nvar |
Number of variables. If nvar>1, the arrays are assumed to give consecutively, the 'nlag' values of the simple variogram of variable 1, followed by the 'nlag'values of the cross-variogram of variables 1 and 2, ... If this function is used in append mode, the number of variables in the original variogram prevails. |
ndim |
Space dimension. If this function is used in append mode, the space dimension in the original variogram prevails. |
toldis |
Tolerance on distance used for calculations |
tolang |
Tolerance on direction used for calculations |
bench |
Array containing the bench separation tolerance for each calculation direction. When bench is defined and positive, a pair is discarded if the separation distance between the two points along the third axis is larger than 'bench'. |
cylrad |
Array containing the cylrad tolerance for each calculation direction. When specified and positive, a pair is discarded if the separation distance in the plane orthogonal to the calculation distance is larger than 'cylrad'. |
codir |
Direction coefficients. If not provided, the default if the unit vector in the first direction of the space |
mean |
Array of the means. The dimension of this array should be equal to nvar. If not provided, it is set constantly to 0. |
vars |
Array of the variance-covariances. The dimension of this array should be equal to nvar*nvar. If not provided, it is set constantly to 1. for the diagonal terms and 0 otherwise. |
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:
|
vario |
The experimental |
A vario-class
structure