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

Getting started

Package details

AuthorFrancesco Pantalone, Roberto Benedetti, Federica Piersimoni
MaintainerFrancesco Pantalone <[email protected]>
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:

Try the Spbsampling package in your browser

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

Spbsampling documentation built on May 30, 2018, 9:04 a.m.