spsurvey
5.6.1Spatial Sampling Design and Analysis
Overview
A design-based approach to statistical inference, with a focus on spatial data. Spatially balanced samples are selected using the Generalized Random Tessellation Stratified (GRTS) algorithm. The GRTS algorithm can be applied to finite resources (point geometries) and infinite resources (linear / linestring and areal / polygon geometries) and flexibly accommodates a diverse set of sampling design features, including stratification, unequal inclusion probabilities, proportional (to size) inclusion probabilities, legacy (historical) sites, a minimum distance between sites, and two options for replacement sites (reverse hierarchical order and nearest neighbor). Data are analyzed using a wide range of analysis functions that perform categorical variable analysis, continuous variable analysis, attributable risk analysis, risk difference analysis, relative risk analysis, change analysis, and trend analysis. spsurvey can also be used to summarize objects, visualize objects, select samples that are not spatially balanced, select panel samples, measure the amount of spatial balance in a sample, adjust design weights, and more. For additional details, see Dumelle et al. (2023) doi:10.18637/jss.v105.i03.
Install
Health
- OK2026-08-0413 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- NOTE2026-08-0112 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- OK2026-06-0812 OK · 0 NOTE · 0 WARNING · 0 ERROR · 1 FAILURE
- ERROR2026-06-0712 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- OK2026-05-0913 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Show 2 earlier snapshots
- ERROR2026-05-0312 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- OK2026-03-1014 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 59%
- Documented parameters
- 96%
- Return-value docs
- 97%
- References docs
- 16%
Downloads
Repository
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Repository practices
2 development-tooling and community-health practices detected across 2 families in the upstream repository
Checks run against github.com/usepa/spsurvey on 2026-08-16.
Dependencies
Code & Tests
Datasets
People & History
33 releases. Pick two to compare their code metrics. R releases are shown for context.
- 5.6.1Latest
- RR 4.6.0 released · 2026-04-24
- 5.6.02025-09-30 · diff ↗
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 5.5.12024-01-09 · diff ↗
- 5.5.02023-05-17 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 5.4.12023-01-16 · diff ↗
- 5.4.02022-11-22 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 5.3.02022-02-25 · diff ↗
- 5.2.02022-01-24 · diff ↗
- 5.1.02021-12-15 · diff ↗
- 5.0.12021-10-20 · diff ↗
- 5.0.02021-10-18 · diff ↗
Show 43 earlier events
- RR 4.1.0 released · 2021-05-18
- 4.1.42020-09-18 · diff ↗
- 4.1.32020-06-18 · diff ↗
- RR 4.0.0 released · 2020-04-24
- 4.1.22020-04-01 · diff ↗
- 4.1.12019-12-18 · diff ↗
- 4.1.02019-08-30 · diff ↗
- RR 3.6.0 released · 2019-04-26
- 4.0.02019-04-05 · diff ↗
- 3.42018-06-14 · diff ↗
- RR 3.5.0 released · 2018-04-23
- RR 3.4.0 released · 2017-04-21
- 3.32016-08-19 · diff ↗
- 3.22016-08-17 · diff ↗
- RR 3.3.0 released · 2016-05-03
- 3.12015-10-23 · diff ↗
- 3.02015-05-22 · diff ↗
- RR 3.2.0 released · 2015-04-16
- RR 3.1.0 released · 2014-04-10
- 2.62013-09-26 · diff ↗
- RR 3.0.0 released · 2013-04-03
- 2.52012-10-12 · diff ↗
- 2.42012-05-30 · diff ↗
- RR 2.15.0 released · 2012-03-30
- 2.32012-02-04 · diff ↗
- RR 2.14.0 released · 2011-10-31
- 2.22011-05-24 · diff ↗
- 2.1-22011-05-03 · diff ↗
- RR 2.13.0 released · 2011-04-13
- RR 2.12.0 released · 2010-10-15
- RR 2.11.0 released · 2010-04-22
- 2.12009-11-03 · diff ↗
- RR 2.10.0 released · 2009-10-26
- RR 2.9.0 released · 2009-04-17
- RR 2.8.0 released · 2008-10-20
- 2.02008-06-20 · diff ↗
- RR 2.7.0 released · 2008-04-22
- RR 2.6.0 released · 2007-10-03
- RR 2.5.0 released · 2007-04-24
- 1.6.22007-03-09 · diff ↗
- 1.6.12007-02-11 · diff ↗
- 1.62007-01-24
- RR 2.4.0 released · 2006-10-03
Package metadata
- First published
- 2007-01-24
- Total releases
- 33 / 19 yrs
- License
- GPL (>= 3) OSI
- Minimum R
- ≥ 3.5.0
- Bundled data
- 575 KB / 8 files
- Download size
- 1.3 MB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("spsurvey")This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-08-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.