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, ) and correlated Poisson sampling (Bondesson and Thorburn, 2008, ), pivotal sampling (Deville and Tillé, 1998, ), and balanced sampling such as the cube method (Deville and Tillé, 2004, ) to ensure auxiliary totals are respected. Spatially balanced approaches, including the local pivotal method (Grafström et al., 2012, ), spatially correlated Poisson sampling (Grafström, 2012, ), and locally correlated Poisson sampling (Prentius, 2024, ), provide efficient designs when the target variable is linked to auxiliary information.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("rsamplr")

0.2.0 by Wilmer Prentius, 6 months ago


https://www.envisim.se/, https://github.com/envisim/rust-samplr/


Report a bug at https://github.com/envisim/rust-samplr/issues


Browse source code at https://github.com/cran/rsamplr


Authors: Wilmer Prentius [aut, cre] (ORCID: , Anton Grafström [ctb] , Authors of the dependent Rust crates [aut] (see inst/AUTHORS file)


Documentation:   PDF Manual  


AGPL-3 license


System requirements: Cargo (Rust's package manager), rustc >= 1.84.1


See at CRAN