Spbsampling: Spatially Balanced Samples

Provides functions to draw spatially balanced samples. It contains fast implementations (C++ via 'Rcpp') of the included sampling methods. In particular, the algorithms to draw spatially balanced samples are pwd() and swd(). These methods use a probability distribution, proportional to the within sample distance. See Benedetti R and Piersimoni F (2017) <doi:10.1002/bimj.201600194> for details. Moreover, there is a function hpwd(), which is a heuristic method to achieve approximated samples obtained by pwd() in a faster way. See Benedetti R and Piersimoni F (2017) <arXiv:1710.09116> for details. Finally, there are two functions, stprod() and stsum(), useful to standardize distance matrices in order to achieve fixed sample size using, respectively, the functions pwd() and swd().

Version: 1.0.0
Depends: R (≥ 3.1)
Imports: Rcpp, Rdpack
LinkingTo: Rcpp
Published: 2018-05-30
Author: Francesco Pantalone, Roberto Benedetti, Federica Piersimoni
Maintainer: Francesco Pantalone <pantalone.fra at gmail.com>
License: GPL-3
NeedsCompilation: yes
CRAN checks: Spbsampling results

Downloads:

Reference manual: Spbsampling.pdf
Package source: Spbsampling_1.0.0.tar.gz
Windows binaries: r-devel: Spbsampling_1.0.0.zip, r-release: Spbsampling_1.0.0.zip, r-oldrel: Spbsampling_1.0.0.zip
OS X binaries: r-release: Spbsampling_1.0.0.tgz, r-oldrel: Spbsampling_1.0.0.tgz

Linking:

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