Covariance Matrix Constant in Space
RMconstant
defines a spatially constant covariance function.
RMconstant(M, var)
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 |
RMconstant
returns an object of class RMmodel
.
Martin Schlather, schlather@math.uni-mannheim.de, https://www.wim.uni-mannheim.de/schlather/
RFoptions(seed=0) ## *ANY* simulation will have the random seed 0; set ## RFoptions(seed=NA) to make them all random again model <- RMconstant(diag(2),var=3) plot(model) x <- seq(0,10,length=100) z <- RFsimulate(model=model,x=x)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.