RFoptions(seed=0)
scale <- 0.4
model <- RMgneiting(scale = scale)
x <- seq(0, 10, if (interactive()) 0.02 else 1)
plot(model, ylim=c(0,1))
points(x, RFcov(RMgauss(scale = scale), x), col="red")
plot(RFsimulate(model, x=x))
RFoptions(seed=NA)
Run the code above in your browser using DataLab