xvalid_2D {RIntaros}R Documentation

2-D Cross-Validation

Description

2-D Cross-Validation

Usage

xvalid_2D(dbin, var, vario_lag = 0.5, vario_nlag = 20,
          moving = FALSE, nmaxi = 40, model = NA, struct = c(1, 12),
	  dirvect = c(0, 45, 90, 135), radix = "Xvalid", draw.model = FALSE,
	  verbose = FALSE, ...)

Arguments

dbin

The db-class structure containing the IMR data.

var

Name of the Target variable

vario_lag

Lag of the experimental variogram calculated

vario_nlag

Number of variogram lags to be calculated

moving

When TRUE, a Moving Neighborhood is used. Otherwise the Neighborhood is Unique.

nmaxi

Maximum number of samples used per Neighborhood. This parameter is used only if the flag 'moving' is set to TRUE.

model

The model-class used for interpolation. When defined, the steps for calculating the Experimental Variogram and fitting the Model are not performed.

struct

Set of basic structures used for fitting the Model

dirvect

Set of directions where the (horizontal) experimental variograms must be calculated. If not defined, an omni-directional is calculated instead.

radix

Radix attached to the resulting variables

draw.model

When TRUE, the experimental variogram and the fitted model are represented graphically.

verbose

Verbose flag

...

Arguments passed to prepar_model.

Value

The db-class which corresponds to the input Db, to which the cross-validation results are added.


[Package RIntaros version 1.1 Index]