Package: sppt 1.0.0

Martin A. Andresen

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.

Authors:Martin A. Andresen [aut, cre, cph]

sppt_1.0.0.tar.gz
sppt_1.0.0.zip(r-4.7-any)sppt_1.0.0.zip(r-4.6-any)
sppt_1.0.0.tar.gz(r-4.7-any)sppt_1.0.0.tar.gz(r-4.6-any)
sppt_1.0.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
sppt/json (API)

# Install 'sppt' in R:
install.packages('sppt', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))
Datasets:
  • vancouver_ct - Residential and commercial burglary in Vancouver, 2003-2025
  • vancouver_da - Residential and commercial burglary in Vancouver, 2003-2025

On CRAN:

Conda:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

3.00 score 3 scripts 4 exports 57 dependencies

Last updated from:b2bd5acdff. Checks:6 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK135
source / vignettesOK208
linux-releaseOK127
windows-develOK91
windows-releaseOK102
wasm-releaseOK143

Exports:spptsppt_longitudinalsppt_mapsppt_sameness

Dependencies:abindbootclassclassIntclicpp11crayoncurlDBIdeldirdplyre1071farvergenericsggplot2ggspatialgluegtablehmsisobandjpegKernSmoothlabelinglatticelifecyclemagrittrMatrixpillarpkgconfigpngprettyunitsprogressproxypurrrR6RColorBrewerRcpprlangrosms2S7scalessfspspDataspdepstringistringrtibbletidyrtidyselectunitsutf8vctrsviridisLitewithrwk

Comparing two spatial patterns with sppt()
Getting started | Maps | Saving results | All options | Confidence interval overlap | Fixed base | References

Last update: 2026-10-27
Started: 2026-10-27

Longitudinal change with sppt_longitudinal()
Getting started | Maps | Saving results | All options | Reference

Last update: 2026-10-27
Started: 2026-10-27