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
|
| 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 |
| Reference manual: | sppt.html , sppt.pdf |
| Vignettes: |
Comparing two spatial patterns with sppt() (source, R code) Longitudinal change with sppt_longitudinal() (source, R code) |
| 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): not available, r-release (x86_64): not available, r-oldrel (x86_64): not available |
Please use the canonical form https://CRAN.R-project.org/package=sppt to link to this page.