Package: spbal 1.1.0

Phil Davies

spbal: Spatially Balanced Sampling Algorithms

Encapsulates a number of spatially balanced sampling algorithms, namely, Balanced Acceptance Sampling (equal, unequal, seed point, panels), Halton frames (for discretizing a continuous resource), Halton Iterative Partitioning (equal probability), Simple Random Sampling, Dynamic Assignment Sampling and Doubly balanced Dynamic Assignment Sampling. Robertson, B. L., Brown, J. A., McDonald, T. and Jaksons, P. (2013) <doi:10.1111/biom.12059>. Robertson, B. L., McDonald, T., Price, C. J. and Brown, J. A. (2017) <doi:10.1016/j.spl.2017.05.004>. Robertson, B. L., McDonald, T., Price, C. J. and Brown, J. A. (2018) <doi:10.1007/s10651-018-0406-6>. Robertson, B. L., van Dam-Bates, P. and Gansell, O. (2021a) <doi:10.1007/s10651-020-00481-1>. Robertson, B. L., Davies, P., Gansell, O., van Dam-Bates, P., McDonald, T. (2025) <doi:10.1111/anzs.12435>. Robertson, B.L., Price, C.J., Reale, M., Davies, P. (2026) <doi:10.1093/biomtc/ujag011>. Robertson, B.L., Price, C.J., Reale, M., Davies, P. (2026) <doi:10.1093/jssam/smag021>.

Authors:Phil Davies [aut, cre], Blair Robertson [aut], Paul van Dam-Bates [aut], Oliver Gansell [aut]

spbal_1.1.0.tar.gz
spbal_1.1.0.zip(r-4.7-x86_64)spbal_1.1.0.zip(r-4.7-arm64)spbal_1.1.0.zip(r-4.6-x86_64)spbal_1.1.0.zip(r-4.6-arm64)
spbal_1.1.0.tar.gz(r-4.7-arm64)spbal_1.1.0.tar.gz(r-4.7-x86_64)spbal_1.1.0.tar.gz(r-4.6-arm64)spbal_1.1.0.tar.gz(r-4.6-x86_64)
spbal_1.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
spbal/json (API)

# Install 'spbal' in R:
install.packages('spbal', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))
Uses libs:
  • openblas– Optimized BLAS
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

openblascpp

3.00 score 10 scripts 249 downloads 16 exports 13 dependencies

Last updated from:067f8a2edb. Checks:10 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-arm64OK149
linux-devel-x86_64OK160
source / vignettesOK285
linux-release-arm64OK146
linux-release-x86_64OK191
windows-devel-arm64OK228
windows-devel-x86_64OK133
windows-release-arm64OK253
windows-release-x86_64OK138
wasm-releaseOK143

Exports:arma_dist_alBASBoundingBoxcppBASptscppBASptsIndexedcppRSHalton_brDASDoubleAssignmentProblem_cppdoubleDASgetPanelgetSampleHaltonFrameHIPLinearAssignmentProblem_cppnative_lapjvSRS

Dependencies:classclassIntDBIe1071KernSmoothproxyRcppRcppArmadilloRcppThreads2sfunitswk

DAS and doubleDAS User Guide
DAS | DAS Parameters | Additional DAS Parameters | Generate Sample | doubleDAS | doubleDAS Parameters | Additional doubleDAS Parameters | The End

Last update: 2026-10-30
Started: 2026-10-30

spbal - Spatially Balanced Sampling
spbal | Simple Random Sampling (SRS) | spbal::SRS() | spbal::SRS() code example | Balanced Acceptance Samples (BAS) | spbal::BAS() | spbal::BAS() code examples | Equal probability BAS sample. | Increase the BAS sample size. | Stratified BAS Sample. | Increasing or decreasing strata sample sizes. | Non-Overlapping panel design. | Overlapping panel design. | Halton Frame (HF) | spbal::HaltonFrame() | spbal::HaltonFrame() code example | Halton frame fine grid | Spatially balanced sample from a random position | Halton frame overlapping panel design. | Halton Frame Stratified sample. | Panel Design from Halton Frame | Halton Iterative Partitioning (HIP) | spbal::HIP() | spbal::HIP() code example | Forcing a minimum distance between sites | HIP Panel Design | More Details | getSample | Non-Stratified samples | Stratified samples | getPanel | Dynamic Assignment Sampling (DAS) | Doubly balanced Dynamic Assignment Sampling (doubleDAS) | The End

Last update: 2026-10-30
Started: 2024-05-18