vario.vect {RGeostats}R Documentation

Computes Covariance for directional variable

Description

Compute non-centered covariance for directional variable.

Usage

vario.vect(db, ncomp=3, dirvect = NA, lag = NA, 
           toldis = 0.5, tolang = NA, bench=0, cylrad=0, nlag = NA,
           opt.code=0, tolcode=0, dates=NA, means=NA, vars=NA, vario.add=NA)

Arguments

db

The db-class containing the data information used to calculate the experimental covariance of the directional variable. The different variables provide the components of the vector. When present, the field "w" gives the weights attached to each sample.

ncomp

Number of components. The number of variables of the Db must be a multiple of the number of components: the number of variables for the variogram calculation is obtained as the ratio of the number of variables of the DB by the number of components

dirvect

The directions in which the variogram must be calculated. For more information, refer to get.directions

lag

Array containing the distance lags for each calculation direction. If no corresponding lag is not defined, a default lag is calculated so that the maximum distance is equal to half of the field diagonal. For one distance, if the lag is not defined, it is set to the default lag.

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

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'.

nlag

Array containing the number of lags for each calculation direction. If not defined, the defaulted number of lags is set to 10. For one direction, if the number of lags is not defined, it is set to 10.

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:

  • 0 : a pair of samples is selected whatever their codes (if active)

  • 1 : a pair is retained if the code is active in the data base and the codes of the two samples are closer than tolcode

  • 2 : a pair is retained only if the codes of the two samples are different

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:

  • The lower bound of the first Date Interval

  • The upper bound of the first Date Interval

  • The lower bound of the second Date Interval

  • The upper bound of the second Date Interval

  • ...

means

Array corresponding to the estimated means of the variable using for the Poisson variogram calculation

vars

Array corresponding to the variance-covariance matrix

vario.add

When defined, the current variogram computation is concatenated to the contents of the current variogram.

Value

An experimental vario-class structure.

See Also

db-class, vario-class,


[Package RGeostats version 14.0.10 Index]