The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

sppt: Spatial Point Pattern Test for Areal Data

Implements the area-based nonparametric spatial point pattern test of Andresen (2009) <doi:10.1016/j.apgeog.2008.12.004> for comparing two spatial distributions of events aggregated to areal units, with the applications and extensions reviewed in Andresen (2016) <doi:10.1177/2059799116630659>. Unit-level inference uses bounded Monte Carlo bootstrap p-values, with marginal confidence interval overlap retained as an option. Global similarity is summarised by the robust S index, accompanied by a test of whether two patterns are more different than two realisations of a single process, and a test of the spatial arrangement of the differences. A longitudinal extension compares each period of a time series against a base period and classifies unit-level trajectories. Publication-ready maps can be redrawn with user-chosen layouts.

Version: 1.0.0
Depends: R (≥ 4.1.0)
Imports: classInt, ggplot2 (≥ 3.5.0), ggspatial, graphics, grDevices, Matrix, rlang, scales, sf, spdep, stats, tools, utils
Suggests: knitr, rmarkdown, testthat (≥ 3.0.0)
Published: 2026-10-27
DOI: 10.32614/CRAN.package.sppt (may not be active yet)
Author: Martin A. Andresen ORCID iD [aut, cre, cph]
Maintainer: Martin A. Andresen <andresen at sfu.ca>
License: MIT + file LICENSE
NeedsCompilation: no
Citation: sppt citation info
Materials: README, NEWS
CRAN checks: sppt results

Documentation:

Reference manual: sppt.html , sppt.pdf
Vignettes: Comparing two spatial patterns with sppt() (source, R code)
Longitudinal change with sppt_longitudinal() (source, R code)

Downloads:

Package source: sppt_1.0.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): sppt_1.0.0.tgz, r-release (x86_64): not available, r-oldrel (x86_64): not available

Linking:

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

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.