Learn R Programming

RandomFields (version 1.3.27)

CheckAndComplete: Validity of a covariance model

Description

CheckAndComplete checks the validity of a covariance model; further a matrix of internal parameters is returned.

Usage

CheckAndComplete(model, param, dim)

Arguments

model
definition of a covariance function, see CovarianceFct for examples
param
see model
dim
dimension for the space

Value

  • A list of two parameters is returned:

    error a value different from zero signifies an error; to get a readable error information put RFparameters()$PrintLevel to a higher level and rerun.

    param (currently for internal purposes only). matrix of the internal parameter list; columns correspond to the simple models and can be extracted using paramextract.

See Also

GaussRF, paramextract, RandomFields, RFMethods.

Examples

Run this code
## for an example see \link{RFMethods}

Run the code above in your browser using DataLab