Skip to content

spbal

1.0.1Package record

Spatially Balanced Sampling Algorithms

0packages dependsuggested by 1
2.3Kdownloads / year
53.0%test coverage
13/13flavors OK

Overview

About

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) and Simple Random 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.

Changes in 1.0.1
  • Fix bug when excessively large BB provided relative to study area.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 4.3 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-08-04
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-04-22
  • ERROR13 OK, 1 ERROR2026-04-18
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.0.1
READMEYes · 36 wordsVignettesYes · 1 · dynamicNEWSYes · 100% structured · mentions 1.0.1Citation fileNoWebsitenot declared in DESCRIPTION
Help pages
35 (25 internal)
Examples that run
100%10 run in a plain check
Exported functions with examples
100%
Documented parameters
94%
Return-value docs
100%
Help pages citing references
0%

Downloads

2.3K
CRAN downloads in the past year
Rank #18,655 · ~6/day · ~190/mo
Daily download trend is not available in this view yet.
26530 days
69690 days
2.3K1 year
Compare downloads with other packages →
Also on357 r2u3 autocran

Dependencies

Declared dependencies
11 external dependencies (excludes base and recommended)

Installing spbal adds 10 packages (9 with compiled code, 17 MB of source tarballs). Heaviest: sf 9.3 MB, s2 2.8 MB, Rcpp 1.8 MB.

Depends (1)
R >= 3.6.0
Imports (3)
LinkingTo (2)
Enhances (0)
none
Reverse dependencies
0direct
0indirect
Suggested by 1
Suggests, most downloaded first

People & History

People (4)
Author, Maintainer since 1.0.0 (2024)
Releases (2)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 1.0.1Latest
    record
    2025-03-28 · current release · diff ↗
  • 1.0.0
    record
    2024-05-17
  • R
    R 4.4.0 released · 2024-04-24

Package metadata

First published
2024-05-17
Total releases
2 / 2 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 3.6.0
Download size
526 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("spbal")
Davies, P., Gansell, O., Robertson, B., & van Dam-Bates, P. (2025). spbal: Spatially Balanced Sampling Algorithms (Version 1.0.1) [Computer software]. https://doi.org/10.32614/CRAN.package.spbal

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for spbal version 1.0.1 [Data set]. HJJB, LLC. Data release v2026-10-21. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy