Skip to content

BalancedSampling

2.1.1

Balanced and Spatially Balanced Sampling

3packages depend
12.3Kdownloads / year
test coverage
13/13checks pass

Overview

About
Maintained by Anton GrafströmFirst published 2014-03-2411 releasesCRAN page ↗GitHub ↗

Select balanced and spatially balanced probability samples in multi-dimensional spaces with any prescribed inclusion probabilities. It contains fast (C++ via Rcpp) implementations of the included sampling methods. The local pivotal method by Grafström, Lundström and Schelin (2012) doi:10.1111/j.1541-0420.2011.01699.x and spatially correlated Poisson sampling by Grafström (2012) doi:10.1016/j.jspi.2011.07.003 are included. Also the cube method (for balanced sampling) and the local cube method (for doubly balanced sampling) are included, see Grafström and Tillé (2013) doi:10.1002/env.2194.

Install

Health

CRAN checks
13OK
Slowest check: 3.6 min · r-devel-windows-x86_64
Code health
None
Tests · ratio 0.00
not tracked
Coverage
1
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-04-22
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-18
    13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesNopkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
11%
Documented parameters
not tracked
Return-value docs
not tracked
References docs
70%

Downloads

12.3K
CRAN downloads in the past year
Rank #3,738 · ~34/day · ~1K/mo
Daily download trend is not available in this view yet.
71130 days
2.5K90 days
12.3K1 year
Compare downloads with other packages →
Also on454 r2u61 autocran43 c2d4u

Repository

Repository
2Stars
1Forks
1Open issues
0Open PRs
3Releases
87Commits
2Contributors
87 commits · Last activity 2024-11-19 · 0% stars, 30d

Stars over time

2024-12-31 · 12026-07-07 · 2

Repository practices

Upstream repositoryBeta

Checks run against github.com/envisim/balancedsampling on 2026-08-16.

No development-tooling practices detected in the upstream repository.

How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
3 external dependencies (excludes base and recommended)
Depends (0)
none
Imports (1)
LinkingTo (2)
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
3direct
0indirect

Code & Tests

People & History

People (3)
Maintainer (1)
Author, Maintainer
Authors (2)
Author, Maintainer
Author · added in 1.6.3
Contributors (1)
Contributor · added in 1.5.1
Package Timeline

11 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 2.1.1Latest
    2024-11-18 · current release · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 2.0.6
    2024-03-01 · diff ↗
  • 2.0.5
    2024-02-23 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 1.6.3
    2022-06-29 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • 1.5.5
    2019-03-01 · diff ↗
  • 1.5.4
    2018-09-10 · diff ↗
  • 1.5.3
    2018-08-14 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
Show 9 earlier events
  • R
    R 3.4.0 released · 2017-04-21
  • 1.5.2
    2016-07-04 · diff ↗
  • R
    R 3.3.0 released · 2016-05-03
  • 1.5.1
    2016-01-27 · diff ↗
  • R
    R 3.2.0 released · 2015-04-16
  • 1.4
    2014-05-02 · diff ↗
  • R
    R 3.1.0 released · 2014-04-10
  • 1.0
    2014-03-24
  • R
    R 3.0.0 released · 2013-04-03

Package metadata

First published
2014-03-24
Total releases
11 / 12 yrs
License
AGPL-3 OSI
Download size
38 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("BalancedSampling")
Grafström, A., Lisic, J., & Prentius, W. (2024). BalancedSampling: Balanced and Spatially Balanced Sampling (Version 2.1.1) [Computer software]. https://doi.org/10.32614/CRAN.package.BalancedSampling

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

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 BalancedSampling version 2.1.1 [Data set]. HJJB, LLC. Data release v2026-08-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-18, 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