The R package spatstat supports statistical analysis for spatial point patterns. Its main focus is the analysis of spatial patterns of points in two-dimensional space. The points may carry auxiliary data (marks), and the spatial region in which the points were recorded may have arbitrary shape.

The package supports

• creation, manipulation and plotting of point patterns
• exploratory data analysis
• simulation of point process models
• parametric model-fitting
• hypothesis tests and
• residual plots, model diagnostics

An introduction to spatstat is provided by the package vignette Getting started with spatstat. For further information visit the project on CRAN, visit the project homepage or dig through the over 1500-paged reference manual.