spatstat.model: Parametric Statistical Modelling for the 'spatstat' Family

Functionality for exploratory data analysis and nonparametric analysis of spatial data, mainly spatial point patterns, in the 'spatstat' family of packages. (Excludes analysis of spatial data on a linear network, which is covered by the separate package 'spatstat.linnet'.) 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.

Version: 3.0-2
Depends: R (≥ 3.5.0), (≥ 3.0), spatstat.geom (≥ 3.0), spatstat.random (≥ 3.0), spatstat.explore (≥ 3.0), stats, graphics, grDevices, utils, methods, nlme, rpart
Imports: spatstat.utils (≥ 3.0), spatstat.sparse (≥ 3.0), mgcv, Matrix, abind, tensor, goftest (≥ 1.2-2)
Suggests: sm, maptools (≥ 0.9-9), gsl, locfit, spatial, RandomFields (≥, RandomFieldsUtils (≥, fftwtools (≥ 0.9-8), nleqslv, glmnet, spatstat.linnet (≥ 3.0), spatstat (≥ 3.0)
Published: 2022-11-07
Author: Adrian Baddeley ORCID iD [aut, cre, cph], Rolf Turner ORCID iD [aut, cph], Ege Rubak ORCID iD [aut, cph], Kasper Klitgaard Berthelsen [ctb], Achmad Choiruddin [ctb, cph], Jean-Francois Coeurjolly [ctb], Ottmar Cronie [ctb], Tilman Davies [ctb], Julian Gilbey [ctb], Yongtao Guan [ctb], Ute Hahn [ctb], Kassel Hingee [ctb], Abdollah Jalilian [ctb], Frederic Lavancier [ctb], Marie-Colette van Lieshout [ctb], Greg McSwiggan [ctb], Tuomas Rajala [ctb], Suman Rakshit [ctb, cph], Dominic Schuhmacher [ctb], Rasmus Plenge Waagepetersen [ctb], Hangsheng Wang [ctb]
Maintainer: Adrian Baddeley <Adrian.Baddeley at>
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
NeedsCompilation: yes
Citation: spatstat.model citation info
Materials: NEWS
CRAN checks: spatstat.model results


Reference manual: spatstat.model.pdf


Package source: spatstat.model_3.0-2.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): spatstat.model_3.0-2.tgz, r-oldrel (arm64): spatstat.model_3.0-2.tgz, r-release (x86_64): spatstat.model_3.0-2.tgz, r-oldrel (x86_64): spatstat.model_3.0-2.tgz

Reverse dependencies:

Reverse depends: spatstat, spatstat.gui, spatstat.Knet, spatstat.linnet, spatstat.local
Reverse imports: ecespa, ppmlasso, rcarbon, selectspm, shar, SpatialVx, ttbary
Reverse suggests: GET,, spatstat.explore, spatstat.geom, spatstat.random, spatstat.utils


Please use the canonical form to link to this page.