BalancedSampling: Balanced and Spatially Balanced Sampling

Select balanced and spatially balanced probability samples in multi-dimensional spaces with any prescribed inclusion probabilities. It contains fast (C++ via Rcpp) implementations of the included sampling methods. The local pivotal method by Grafström, Lundström and Schelin (2012) <doi:10.1111/j.1541-0420.2011.01699.x> and spatially correlated Poisson sampling by Grafström (2012) <doi:10.1016/j.jspi.2011.07.003> are included. Also the cube method (for balanced sampling) and the local cube method (for doubly balanced sampling) are included, see Grafström and Tillé (2013) <doi:10.1002/env.2194>.

Getting started

Package details

AuthorAnton Grafström [aut, cre] (<https://orcid.org/0000-0002-4345-4024>), Wilmer Prentius [aut] (<https://orcid.org/0000-0002-3561-290X>), Jonathan Lisic [ctb]
MaintainerAnton Grafström <anton.grafstrom@gmail.com>
LicenseAGPL-3
Version2.1.1
URL https://www.envisim.se/ https://github.com/envisim/BalancedSampling/
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("BalancedSampling")

Try the BalancedSampling package in your browser

Any scripts or data that you put into this service are public.

BalancedSampling documentation built on April 11, 2025, 6 p.m.