vardir-class {RGeostats} | R Documentation |
This class contains an experimental variogram calculated in one direction for one or several variables.
Objects can be created by calls of the form new("vardir", ...)
.
Elementary experimental variogram
npas
:Object of class "numeric"
Number of lags
npatot
:Object of class "integer"
Total number
of lags
opt.code
:Object of class "numeric"
Option for
testing codes
pas
:Object of class "numeric"
Lag value
toldis
:Object of class "numeric"
Tolerance on
distance (as percentage of lag value)
tolang
:Object of class "numeric"
Tolerance on
direction (in degrees)
bench
:Object of class "numeric"
When specified
and positive, a pair is discarded if the separation distance along
the third axis is larger than 'bench'
cylrad
:Object of class "numeric"
When
specified and positive, a pair is discarded if the distance
within the plane orthogonal to the calculation direction is larger
than 'cylrad'
tolcode
:Object of class "numeric"
Tolerance on
code comparison
flag.regular
:Object of class "numeric"
Specify if regular lags must be considered
breaks
:Object of class "numeric"
Array of irregular lags
codir
:Object of class "numeric"
Vector of direction coefficients
size
:Object of class "integer"
Total dimension of variogram arrays
sw
:Object of class "numeric"
Array of weights (or number of pairs)
hh
:Object of class "numeric"
Array of distances
gg
:Object of class "numeric"
Array of variogram values
vardir[ivar,jvar,ipas]
returns the list (sw,gg,hh)
corresponding to the arrays of weights, variogram values and
distances for the lag ipas
and the pair of variables
ivar
and jvar
.
Same but for assignment
vardir$parameter
is used to query the value of
parameter
from vardir
:
npas : Number of lags
npatot : Total number of lags (=npas for symmetric function and =2*npas for asymetric functions)
pas : Lag
toldis : Tolerance on the distance (as a percentage of the lag)
tolang : Tolerance on the direction (in degrees)
flag.regular : 1 for regular lags and 0 otherwise
breaks : Array of irregular lags (if flag.regular=0)
codir : Vector of direction coefficients
size : Total dimension of the variogram arrays
sw : Array containing the variogram weights
gg : Array containing the variogram values
hh : Array containing the variogram distances
Same but for assignment
showClass("vardir")