model.eval {RGeostats}R Documentation

Evaluate a Model

Description

Evaluate a Model for a set of distances, specified by their increments.

Usage

model.eval(model, h, ivar=1, jvar=1, dir=NA,
	flag.norm=FALSE, as.cov=FALSE, nugget.opt = 0, nostd=0,
	norder=0, member=0, basic.rank = -1)

Arguments

model

This is the model-class structure to be evaluated. For more information check check.model.

h

A set of distances for which the Basic Structure must be evaluated.

ivar

Index of the first field

jvar

Index of the second field

dir

Vector defining the direction coefficients. If defined, it must have the space dimension. The vector will be normalized internally. If not (properly) defined, it is defaulted to the unit vector in the first dimension of the space.

as.cov

If TRUE, the structure is represented as a covariance; otherwise it is represented as a variogram.

flag.norm

If TRUE, the variogram is normalized by the variable variance before it is represented

nugget.opt

Option for the nugget effect: 0 no action; 1 discard the nuegget effect; -1 only consider the nugget effet

nostd

Option for representing the (cross-)variogram between two different variables. This may be 0 for the standard cross-variogram, -1 for the lower and +1 for the upper part of the maximum correlation envelop.

norder

When equal to 0, this corresponds to the standard variogram. When strictly positive, it corresponds to the order of the Generalized Variogram.

member

Type of model usage. In some cases, the expression of the model can be different when used in the Left-hand side (0) or the Right-hand side (1) of the Kriging system, or for the constant term of the Variance calculation (2). This can be chosen here

basic.rank

If positive, rank of the only basic structure to be evaluated. Otherwise, all the basic structures of the model are evaluated.

Value

Value(s) of the model-class calculated for a set of distances.


[Package RGeostats version 14.0.10 Index]