You are on page 1of 3

4/11/2018 CRAN - Package spatstat

spatstat: Spatial Point Pattern Analysis, Model-Fitting, Simulation, Tests

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, Monte Carlo, Diggle-
Cressie-Loosmore-Ford, Dao-Genton, two-stage Monte Carlo) and tests for covariate effects (Cox-Berman-
Waller-Lawson, Kolmogorov-Smirnov, ANOVA) 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.

Version: 1.55-1
Depends: R (≥ 3.3.0), spatstat.data (≥ 1.2-0), stats, graphics, grDevices, utils, methods, nlme, rpart
Imports: spatstat.utils (≥ 1.8-0), mgcv, Matrix, deldir (≥ 0.0-21), abind, tensor, polyclip (≥ 1.5-0),
goftest
Suggests: sm, maptools, gsl, locfit, spatial, rpanel, tkrplot, RandomFields (≥ 3.1.24.1),
RandomFieldsUtils (≥ 0.3.3.1), fftwtools (≥ 0.9-8)
Published: 2018-04-05
Author: Adrian Baddeley, Rolf Turner and Ege Rubak, with substantial contributions of code by
Kasper Klitgaard Berthelsen; Ottmar Cronie; Yongtao Guan; Ute Hahn; Abdollah Jalilian;
Marie-Colette van Lieshout; Greg McSwiggan; Tuomas Rajala; Suman Rakshit; Dominic
Schuhmacher; Rasmus Waagepetersen; and Hangsheng Wang. Additional contributions by
M. Adepeju; C. Anderson; Q.W. Ang; J. Astrom; M. Austenfeld; S. Azaele; M. Baddeley;
C. Beale; M. Bell; R. Bernhardt; T. Bendtsen; A. Bevan; B. Biggerstaff; A. Bilgrau; L.
Bischof; C. Biscio; 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; K.
Colyvas; R. Constantine; R. Corria Ainslie; R. Cotton; M. de la Cruz; P. Dalgaard; M.
D'Antuono; S. Das; T. Davies; P.J. Diggle; P. Donnelly; I. Dryden; S. Eglen; A. El-Gabbas;
B. Fandohan; O. Flores; E.D. Ford; P. Forbes; S. Frank; J. Franklin; N. Funwi-Gabga; O.
Garcia; A. Gault; J. Geldmann; M. Genton; S. Ghalandarayeshi; J. Gilbey; J. Goldstick; P.
Grabarnik; C. Graf; U. Hahn; A. Hardegen; M.B. Hansen; M. Hazelton; J. Heikkinen; M.
Hering; M. Herrmann; P. Hewson; K. Hingee; K. Hornik; P. Hunziker; J. Hywood; R.
Ihaka; C. Icos; A. Jammalamadaka; R. John-Chandran; D. Johnson; M. Khanmohammadi;
R. Klaver; P. Kovesi; L. Kozmian-Ledward; M. Kuhn; J. Laake; F. Lavancier; T. Lawrence;
R.A. Lamb; J. Lee; G.P. Leser; A. Li; H.T. Li; G. Limitsios; A. Lister; B. Madin; M.
Maechler; J. Marcus; K. Marchikanti; R. Mark; J. Mateu; P. McCullagh; U. Mehlig; F.
https://cran.r-project.org/web/packages/spatstat/ 1/3
4/11/2018 CRAN - Package spatstat

Mestre; S. Meyer; X.C. Mi; L. De Middeleer; R.K. Milne; E. Miranda; J. Moller; I.


Moncada; M. Moradi; V. Morera Pujol; E. Mudrak; G.M. Nair; N. Najari; N. Nava; L.S.
Nielsen; F. Nunes; J.R. Nyengaard; J. Oehlschlaegel; T. Onkelinx; S. O'Riordan; E. Parilov;
J. Picka; N. Picard; M. Porter; S. Protsiv; A. Raftery; S. Rakshit; B. Ramage; P. Ramon; X.
Raynaud; N. Read; M. Reiter; I. Renner; T.O. Richardson; B.D. Ripley; E. Rosenbaum; B.
Rowlingson; J. Rudokas; J. Rudge; C. Ryan; F. Safavimanesh; A. Sarkka; C. Schank; K.
Schladitz; S. Schutte; B.T. Scott; O. Semboli; F. Semecurbe; V. Shcherbakov; G.C. Shen; P.
Shi; H.-J. Ship; T.L. Silva; I.-M. Sintorn; Y. Song; M. Spiess; M. Stevenson; K. Stucki; M.
Sumner; P. Surovy; B. Taylor; T. Thorarinsdottir; L. Torres; B. Turlach; T. Tvedebrink; K.
Ummer; M. Uppala; A. van Burgel; T. Verbeke; M. Vihtakari; A. Villers; F. Vinatier; S.
Voss; S. Wagner; H. Wang; H. Wendrock; J. Wild; C. Witthoft; S. Wong; M. Woringer;
M.E. Zamboni and A. Zeileis.
Maintainer: Adrian Baddeley <Adrian.Baddeley at curtin.edu.au>
BugReports: https://github.com/spatstat/spatstat/issues
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
URL: http://www.spatstat.org
NeedsCompilation: yes
Citation: spatstat citation info
Materials: NEWS
In views: Spatial, SpatioTemporal, Survival
CRAN checks: spatstat results

Downloads:

Reference manual: spatstat.pdf


Vignettes: Datasets Provided for the Spatstat Package
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.55-1.tar.gz
Windows binaries: r-prerel: spatstat_1.55-1.zip, r-release: spatstat_1.55-1.zip, r-oldrel: spatstat_1.55-1.zip
OS X binaries: r-prerel: spatstat_1.55-0.tgz, r-release: spatstat_1.55-1.tgz
Old sources: spatstat archive

Reverse dependencies:

Reverse depends: adaptsmoFMRI, aoristic, dbmss, Digiroo2, dixon, DSpat, ecespa, GriegSmith, idar,
latticeDensity, ppmlasso, rase, sclero, selectspm, SGCS, siar, siplab, sparr, SpatEntropy,
spatialsegregation, SpatialVx, spatstat.local
Reverse imports: ads, alphahull, BAT, Biolinv, colordistance, ConR, dpcR, ecospat, ETAS, gridsample, hht,
highriskzone, intamapInteractive, lgcp, lqr, MetaLandSim, mopa, NLMR, osmplotr, palm,
qlcVisualize, radiomics, replicatedpp2w, RImageJROI, rLiDAR, rust, smacpod, spatialEco,
spatialkernel, spatsurv, sppmix, SPUTNIK, stpp, surveillance, swfscMisc, trip, tweet2r,
windfarmGA
Reverse suggests: archdata, autoimage, bamlss, expp, GSIF, inlabru, ipdw, maptools, McSpatial, mobsim,
plotKML, polyCub, qle, sf, soil.spec, spatstat.data, spatstat.utils
Reverse enhances: imager

Linking:

https://cran.r-project.org/web/packages/spatstat/ 2/3
4/11/2018 CRAN - Package spatstat

Please use the canonical form https://CRAN.R-project.org/package=spatstat to link to this page.

https://cran.r-project.org/web/packages/spatstat/ 3/3

You might also like