vardir-class {RGeostats}R Documentation

Class "vardir" Elementary experimental variogram

Description

This class contains an experimental variogram calculated in one direction for one or several variables.

Objects from the Class

Objects can be created by calls of the form new("vardir", ...). Elementary experimental variogram

Slots

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

idate:

Object of class "numeric" When defined, rank of the Date Interval

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

Methods

[

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

Examples

showClass("vardir")

[Package RGeostats version 14.0.10 Index]