AreaInter(r=0.1)
# prints a sensible description of itself
data(swedishpines)
# Fit the stationary area interaction process to Swedish Pines data
ppm(swedishpines, ~1, AreaInter(r=2), rbord=4)
data(cells)
# Fit the stationary area interaction process to `cells'
ppm(cells, ~1, AreaInter(r=0.03), rbord=0.06)
# Zero value of eta indicates hard core process.
ppm(swedishpines, ~polynom(x/10,y/10,3), AreaInter(r=2), rbord=4)
# fit a nonstationary area interaction with log-cubic polynomial trend
Run the code above in your browser using DataLab