model.covmat {RGeoS}R Documentation

Covariance matrix between two Dbs

Description

Establish the covariance matrix between two Dbs

Usage

model.covmat(db1, db2 = db1, model = model.input(), ivar = 1, jvar = 1, flag.norm = FALSE, as.cov = FALSE)

Arguments

db1

Name of the db-class which contains the first Db

db2

Name of the db-class which contains the second Db

model

Name of the model-class which contains the model

ivar

Index of the first field

jvar

Index of the second field

flag.norm

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

as.cov

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

Value

A matrix containing the covariances between any sample of the first and the second db-class.


[Package RGeoS version 9.1.1 Index]