spsurvey: Spatial Sampling Design and Analysis

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>.

Version: 5.5.1
Depends: R (≥ 3.5.0), sf, survey (≥ 4.1-1)
Imports: boot, crossdes, deldir, graphics, grDevices, lme4, MASS, sampling, stats, units
Suggests: knitr, testthat, rmarkdown
Published: 2024-01-09
DOI: 10.32614/CRAN.package.spsurvey
Author: Michael Dumelle ORCID iD [aut, cre], Tom Kincaid [aut], Tony Olsen [aut], Marc Weber [aut], Don Stevens [ctb], Denis White [ctb]
Maintainer: Michael Dumelle <Dumelle.Michael at epa.gov>
BugReports: https://github.com/USEPA/spsurvey/issues
License: GPL (≥ 3)
URL: https://usepa.github.io/spsurvey/, https://github.com/USEPA/spsurvey
NeedsCompilation: no
Citation: spsurvey citation info
Materials: README NEWS
In views: OfficialStatistics, Spatial
CRAN checks: spsurvey results

Documentation:

Reference manual: spsurvey.pdf
Vignettes: Summaries and Visualizations
Analyzing Data
Spatially Balanced Sampling
Start Here

Downloads:

Package source: spsurvey_5.5.1.tar.gz
Windows binaries: r-devel: spsurvey_5.5.1.zip, r-release: spsurvey_5.5.1.zip, r-oldrel: spsurvey_5.5.1.zip
macOS binaries: r-release (arm64): spsurvey_5.5.1.tgz, r-oldrel (arm64): spsurvey_5.5.1.tgz, r-release (x86_64): spsurvey_5.5.1.tgz, r-oldrel (x86_64): spsurvey_5.5.1.tgz
Old sources: spsurvey archive

Reverse dependencies:

Reverse imports: ARUtools
Reverse suggests: MBHdesign, secr

Linking:

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