Skip to Content

spatstat

Spatial Point Pattern analysis, model-fitting, simulation, tests
Adrian Baddeley <Adrian.Baddeley@uwa.edu.au> and Rolf Turner <r.turner@auckland.ac.nz> with substantial contributions of code by Kasper Klitgaard Berthelsen; Abdollah Jalilian; Marie-Colette van Lieshout; Ege Rubak; Dominic Schuhmacher; and Rasmus Waagepetersen. Additional contributions by Q.W. Ang; S. Azaele; C. Beale; R. Bernhardt; T. Bendtsen; A. Bevan; B. Biggerstaff; R. Bivand; J.M. Blanco Moreno; F. Bonneu; J. Burgos; S. Byers; Y.M. Chang; J.B. Chen; I. Chernayavsky; Y.C. Chin; B. Christensen; J.-F. Coeurjolly; R. Corria Ainslie; M. de la Cruz; P. Dalgaard; P.J. Diggle; P. Donnelly; I. Dryden; S. Eglen; O. Flores; N. Funwi-Gabga; A. Gault; M. Genton; J. Gilbey; J. Goldstick; P. Grabarnik; C. Graf; J. Franklin; U. Hahn; A. Hardegen; M. Hering; M.B. Hansen; M. Hazelton; J. Heikkinen; K. Hornik; R. Ihaka; A. Jammalamadaka; R. John-Chandran; D. Johnson; M. Kuhn; J. Laake; F. Lavancier; T. Lawrence; R.A. Lamb; J. Lee; G.P. Leser; H.T. Li; G. Limitsios; B. Madin; J. Marcus; K. Marchikanti; R. Mark; J. Mateu; P. McCullagh; U. Mehlig; S. Meyer; X.C. Mi; J. Moller; E. Mudrak; L.S. Nielsen; F. Nunes; J. Oehlschlaegel; T. Onkelinx; S. O'Riordan; E. Parilov; J. Picka; N. Picard; S. Protsiv; A. Raftery; M. Reiter; T.O. Richardson; B.D. Ripley; E. Rosenbaum; B. Rowlingson; J. Rudge; F. Safavimanesh; A. Sarkka; K. Schladitz; B.T. Scott; G.C. Shen; V. Shcherbakov; I.-M. Sintorn; Y. Song; M. Spiess; M. Stevenson; K. Stucki; M. Sumner; P. Surovy; B. Taylor; T. Thorarinsdottir; B. Turlach; A. van Burgel; T. Verbeke; A. Villers; F. Vinatier; H. Wang; H. Wendrock; J. Wild; S. Wong; M.E. Zamboni and A. Zeileis.
GPL (>= 2)
Comprehensive open-source toolbox for analysing Spatial Point Patterns. Focused mainly on two-dimensional point patterns, including multitype/marked points, in any spatial region. Also supports three-dimensional point patterns, space-time point patterns in any number of dimensions, point patterns on a linear network, and patterns of other geometrical objects. Supports spatial covariate data such as pixel images. Contains over 2000 functions for plotting spatial data, exploratory data analysis, model-fitting, simulation, spatial sampling, model diagnostics, and formal inference. Data types include point patterns, line segment patterns, spatial windows, pixel images, tessellations, and linear networks. Exploratory methods include quadrat counts, K-functions and their simulation envelopes, nearest neighbour distance and empty space statistics, Fry plots, pair correlation function, kernel smoothed intensity, relative risk estimation with cross-validated bandwidth selection, mark correlation functions, segregation indices, mark dependence diagnostics, and kernel estimates of covariate effects. Formal hypothesis tests of random pattern (chi-squared, Kolmogorov-Smirnov, Diggle-Cressie-Loosmore-Ford, Dao-Genton) and tests for covariate effects (Cox-Berman-Waller-Lawson, Kolmogorov-Smirnov) are also supported. Parametric models can be fitted to point pattern data using the functions ppm(), kppm(), slrm(), dppm() similar to glm(). Types of models include Poisson, Gibbs and Cox point processes, Neyman-Scott cluster processes, and determinantal point processes. Models may involve dependence on covariates, inter-point interaction, cluster formation and dependence on marks. Models are fitted by maximum likelihood, logistic regression, minimum contrast, and composite likelihood methods. A model can be fitted to a list of point patterns (replicated point pattern data) using the function mppm(). The model can include random effects and fixed effects depending on the experimental design, in addition to all the features listed above. Fitted point process models can be simulated, automatically. Formal hypothesis tests of a fitted model are supported (likelihood ratio test, analysis of deviance, Monte Carlo tests) along with basic tools for model selection (stepwise(), AIC()). Tools for validating the fitted model include simulation envelopes, residuals, residual plots and Q-Q plots, leverage and influence diagnostics, partial residuals, and added variable plots.
Versions
Package Version Released
spatstat 1.34-1 2 years 29 weeks ago
spatstat 1.34-0 2 years 31 weeks ago
spatstat 1.34-0 2 years 31 weeks ago
spatstat 1.33-0 2 years 38 weeks ago
spatstat 1.32-0 2 years 41 weeks ago
spatstat 1.31-3 3 years 2 days ago
spatstat 1.31-2 3 years 4 weeks ago
spatstat 1.31-1.1 3 years 4 weeks ago
spatstat 1.31-1 3 years 12 weeks ago
spatstat 1.31-0 3 years 18 weeks ago
4.11111
Your rating: None Overall: 4.1 (153 votes)
3.81046
Your rating: None Documentation: 3.8 (153 votes)