xvalid {RGeoS}R Documentation

Performs Cross-Validation

Description

Cross-validation procedure

Usage

xvalid(db, 
model = model.input(), neigh = neigh.input(), 
uc = c("1"), mean = NA, 
radix = NA, modify.target = TRUE)

Arguments

db

The db-class structure containing the data file

model

The model-class structure containing the Model information

neigh

The neigh-class structure containing the Neighborhood information

uc

The vector of strings describing the drift conditions

mean

Array containing the mean of each variable, used in the case of Simple (Co-)Kriging

radix

Radix of the name given to the variables storing the results in the target Db.

modify.target

When TRUE, the cross-validation results are set as new target variables in the output db-class.

Value

The input Db where the following variables have been added:

* the estimation error (extension: "esterr")

* the normalized error (extension: "stderr")

These variables are duplicated for each one of the data variables.


[Package RGeoS version 9.1.1 Index]