Learn R Programming

RandomFields (version 3.1.12)

RMconstant: Covariance Matrix Constant in Space

Description

RMconstant defines a spatially constant covariance function

Usage

RMconstant(M, var)

Arguments

M
a numerical matrix defining the user-defined covariance for a random field; The matrix should be positive definite, symmetric and its dimension should be equal to the length of observation or simulation vector.
var
variance

Value

See Also

RMfixcov, RMmodel,

Examples

Run this code
RFoptions(seed=0) ## *ANY* simulation will have the random seed 0; set
##                   RFoptions(seed=NA) to make them all random again

## to do

FinalizeExample()

Run the code above in your browser using DataLab