rsamplr - Sampling Algorithms and Spatially Balanced Sampling
Fast tools for unequal probability sampling in
multi-dimensional spaces, implemented in Rust for high
performance. The package offers a wide range of methods,
including Sampford (Sampford, 1967,
<doi:10.1093/biomet/54.3-4.499>) and correlated Poisson
sampling (Bondesson and Thorburn, 2008,
<doi:10.1111/j.1467-9469.2008.00596.x>), pivotal sampling
(Deville and Tillé, 1998, <doi:10.1093/biomet/91.4.893>), and
balanced sampling such as the cube method (Deville and Tillé,
2004, <doi:10.1093/biomet/91.4.893>) to ensure auxiliary totals
are respected. Spatially balanced approaches, including the
local pivotal method (Grafström et al., 2012,
<doi:10.1111/j.1541-0420.2011.01699.x>), spatially correlated
Poisson sampling (Grafström, 2012,
<doi:10.1016/j.jspi.2011.07.003>), and locally correlated
Poisson sampling (Prentius, 2024, <doi:10.1002/env.2832>),
provide efficient designs when the target variable is linked to
auxiliary information.