RFoptions(seed=0)
\dontrun{
x <- seq(0,25, if (interactive()) 0.02 else 5)
model <- RPcoins(RMspheric())
z <- RFsimulate(model, x, x, spConform=FALSE) # takes 20 sec
Print(sd(as.vector(z)), mean(z))
image(z)
### Gaussian field approximates by Poisson fields
x <- seq(0,10, if (interactive()) 0.02 else 5)
for (intensity in c(1, 10, 100)) {
z <- RFsimulate(x=x, model=RPcoins(RMspheric(), intensity = intensity))
x11()
plot(z)
}
}
RFoptions(seed=NA)
Run the code above in your browser using DataLab