spatstat: Spatial Point Pattern analysis, model-fitting, simulation, tests

A package for analysing spatial data, mainly Spatial Point Patterns, including multitype/marked points and spatial covariates, in any two-dimensional spatial region. Also supports three-dimensional point patterns, space-time point patterns in any number of dimensions, and point patterns on a linear network. Contains about 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 similar to glm. Types of models include Poisson, Gibbs, Cox and cluster point processes. Models may involve dependence on covariates, interpoint interaction, cluster formation and dependence on marks. Models are fitted by maximum likelihood, logistic regression, minimum contrast, and composite likelihood methods. 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.

Version: 1.38-0
Depends: R (≥ 3.0.2), stats, graphics, grDevices, utils
Imports: mgcv, deldir (≥ 0.0-21), abind, tensor, polyclip (≥ 1.3-0), goftest
Suggests: sm, maptools, gsl, locfit, spatial, rpanel, tkrplot, scatterplot3d, RandomFields (≥ 3.0.0), Matrix
Published: 2014-08-15
Author: Adrian Baddeley, Rolf Turner and Ege Rubak, with substantial contributions of code by Kasper Klitgaard Berthelsen; Abdollah Jalilian; Marie-Colette van Lieshout; Dominic Schuhmacher; and Rasmus Waagepetersen. Additional contributions by Q.W. Ang; S. Azaele; M. Baddeley; C. Beale; M. Bell; R. Bernhardt; T. Bendtsen; A. Bevan; B. Biggerstaff; L. Bischof; 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; S. Das; P.J. Diggle; P. Donnelly; I. Dryden; S. Eglen; O. Flores; E.D. Ford; P. Forbes; J. Franklin; N. Funwi-Gabga; O. Garcia; A. Gault; M. Genton; J. Gilbey; J. Goldstick; P. Grabarnik; C. Graf; U. Hahn; A. Hardegen; M. Hering; M.B. Hansen; M. Hazelton; J. Heikkinen; K. Hornik; P. Hunziker; 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; L. De Middeleer; R.K. Milne; J. Moller; E. Mudrak; L.S. Nielsen; F. Nunes; J. Oehlschlaegel; T. Onkelinx; S. O'Riordan; E. Parilov; J. Picka; N. Picard; M. Porter; S. Protsiv; A. Raftery; S. Rakshit; P. Ramon; M. Reiter; T.O. Richardson; B.D. Ripley; E. Rosenbaum; B. Rowlingson; J. Rudokas; J. Rudge; C. Ryan; 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; K. Ummer; M. Uppala; A. van Burgel; T. Verbeke; M. Vihtakari; A. Villers; F. Vinatier; H. Wang; H. Wendrock; J. Wild; S. Wong; M.E. Zamboni and A. Zeileis.
Maintainer: Adrian Baddeley <Adrian.Baddeley at>
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
NeedsCompilation: yes
Citation: spatstat citation info
Materials: NEWS
In views: Spatial, SpatioTemporal, Survival
CRAN checks: spatstat results


Reference manual: spatstat.pdf
Vignettes: Getting Started with Spatstat
Analysing Replicated Point Patterns in Spatstat
Handling shapefiles in the spatstat package
Summary of Recent Updates to Spatstat
Package source: spatstat_1.38-0.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
OS X Snow Leopard binaries: r-release: spatstat_1.38-0.tgz, r-oldrel: spatstat_1.37-0.tgz
OS X Mavericks binaries: r-release: spatstat_1.38-0.tgz
Old sources: spatstat archive

Reverse dependencies:

Reverse depends: adaptsmoFMRI, aoristic, dbmss, Digiroo2, dixon, DSpat, ecespa, ETAS, GriegSmith, highriskzone, latticeDensity, lgcp, ppmlasso, RcmdrPlugin.seeg, seeg, SGCS, siar, siplab, sparr, spatialsegregation, SpatialVx, stpp, wild1
Reverse imports: ads, dpcR, ecospat, intamapInteractive, polyCub, RImageJROI, surveillance, trip
Reverse suggests: adehabitat, berryFunctions, expp, GSIF, ipdw, maptools, McSpatial, plotKML
Reverse enhances: geostatsp