model.cxv {RGeostats}R Documentation

Average covariance between a Db and a Polygon or a Generice Cell

Description

Calculate the average covariance between a Db and a Polygon or a Generic Cell

Usage

model.cxv(db=NA, polygon=NA, v.mesh=NA, v.origin=NA, target=NA, model = model.input(), 
ivar = 1, jvar = 1, ndisc = 50, seed = 321231)

Arguments

db

Name of the db-class which contains the characteristics of the Db. If not defined, the target will be described in the argument target.

polygon

Name of the polygon-class which contains the characteristics of the Polygon.If not defined, the argument 'v.mesh' must be specified instead.

v.mesh

Extension of the generic cell. The length of this argument should be equal to the space dimension as specified in the Model. If this argument is a constant value, the generic cell is generated automatically with this extension along each dimension. If not defined, the argument 'polygon' must be defined instead.

v.origin

Origin of the Generic Cell (minimum coordinate along each dimension). The length of this argument should be equal to the space dimension as specified in the Model. Warning: the v.origin corresponds to the CENTER of the cell.

target

The vector of coordinates which characterizes the target point. This is used when Db is not provided.

model

Name of the model-class which contains the characteristics of the Model

ivar

Index of the first field

jvar

Index of the second field

ndisc

Number of discretization steps

seed

Seed used for the generation of random numbers. When 0, the seed is not initialized.

Value

Average covariance value


[Package RGeostats version 11.1.1 Index]