cloud.calc {RGeostats}  R Documentation 
Variogram Cloud calculation
cloud.calc(db, dbout = NA, dirvect = NA, lagmax = NA, varmax = NA, lagnb = 100, varnb = 100, toldis = 0.5, tolang = NA, bench = 0, cylrad = 0, opt.code = 0, tolcode = 0, dates = NA, flag.ask=FALSE, ...)
db 
The 
dbout 
The 
dirvect 
The directions in which the variogram must be calculated.
For more information, refer to 
lagmax 
Maximum distance value for variogram cloud calculation. This value is disregarded when the argument dbout is provided. 
varmax 
Maximum variogram value for the variogram cloud calculation. This value is disregarded when the argument dbout is provided. 
lagnb 
Number of steps for the variogram cloud calculation along the distance axis. 
varnb 
Number of steps for the variogram cloud calculation along the variogram axis. 
toldis 
Tolerance on the distance, expressed as a percentage of the lag. 
tolang 
Array containing the angular tolerance for each calculation direction. If no angular tolerance is not defined, a default tolerance is calculated as one half of the angle. For one direction, if the angular tolerance is not defined, it is set to the default tolerance. 
bench 
When defined and positive, a par is discarded if the separation distance along the third axis is larger than 'banch'. 
cylrad 
When specified and positive, a pair is discarded if the seperation distance in the plane orthogonal to the calculation distance is larger than 'cylrad'. 
opt.code 
Option concerning the sample codes for constituting pairs:

tolcode 
Maximum distance between the codes of the two samples. 
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:

flag.ask 
When TRUE, the variogram clpud is plotted. The user may then digitize a Polygon in order to identify the pairs which belong to this polygon. This operation is repeated until the user stops it. 
... 
Arguments passed to the functions 
The dbclass
organized as a regular 2D grid where
the variogram cloud is calculated. When no pair is obtained for
a given cell, the value is set to FFFF.