RMkolmogorov
corresponds to a vector-valued random fields with
covariance function
RMkolmogorov(var, scale, Aniso, proj)
RMmodel
. If not passed, the above
covariance function remains unmodified.RMkolmogorov
returns an object of class RMmodel
.RMmodel
, RMcurlfree
,
RMdivfree
,
RMvector
,
RFoptions(seed=0) ## *ANY* simulation will have the random seed 0; set
## RFoptions(seed=NA) to make them all random again
x <- y <- seq(-2, 2, len=20)
model <- RMkolmogorov()
plot(model, dim=3, MARGIN=1:2, fixed.MARGIN=1)
simu <- RFsimulate(model, x, y, z=0)
plot(simu, select.variables=list(c(1,2)), col=c("red"))
Run the code above in your browser using DataLab