if (FALSE) {
data(craterA)
data(craterB)
set.seed(100)
sim_pp1 <- sim_nsppp(craterA, radius=300, clustering=15, thinning=0.1)
sim_pp2 <- sim_nsppp(craterB, radius=300, clustering=15, thinning=0.1)
op <- par(mfrow = c(1, 2))
plot(sim_pp1, main = "simulated cluster process 1")
plot(sim_pp2, main = "simulated cluster process 2")
par(op)
}
Run the code above in your browser using DataLab