Spbsampling: Spatially Balanced Samples
Version 1.0.0

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) 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) 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
Date of publication2018-05-30 08:07:56 UTC
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.