Skip to content

StratifiedSampling

0.4.2

Different Methods for Stratified Sampling

0packages depend
2.8Kdownloads / year
test coverage
13/13checks pass

Overview

About
Maintained by Raphael JauslinFirst published 2021-01-266 releasesCRAN page ↗GitHub ↗

Integrating a stratified structure in the population in a sampling design can considerably reduce the variance of the Horvitz-Thompson estimator. We propose in this package different methods to handle the selection of a balanced sample in stratified population. For more details see Raphaël Jauslin, Esther Eustache and Yves Tillé (2021) doi:10.1007/s42081-021-00134-y. The package propose also a method based on optimal transport and balanced sampling, see Raphaël Jauslin and Yves Tillé doi:10.1016/j.jspi.2022.12.003.

Install

Health

CRAN checks
13OK
Slowest check: 5.3 min · r-devel-windows-x86_64
Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
7
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-25
    12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-04-22
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-18
    11 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
Show 1 earlier snapshots
  • NOTE2026-03-10
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 377 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
100%
References docs
58%

Downloads

2.8K
CRAN downloads in the past year
Rank #13,439 · ~8/day · ~235/mo
Daily download trend is not available in this view yet.
19930 days
75390 days
2.8K1 year
Compare downloads with other packages →
Also on392 r2u17 autocran

Repository

Repository
1Stars
0Forks
1Open issues
0Open PRs
0Releases
96Commits
2Contributors
96 commits · Last activity 2025-01-31

Repository practices

Upstream repositoryBeta

4 development-tooling and community-health practices detected across 4 families in the upstream repository

Checks run against github.com/rjauslin/stratifiedsampling on 2026-08-16.

Continuous integration (1)
GitHub Actions
CRAN release process (1)
cran-comments.md
Docs source (1)
README.Rmd
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
19 external dependencies (excludes base and recommended)
Depends (2)
R >= 3.5.0Matrix
LinkingTo (2)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (4)
Maintainer (1)
Author, Maintainer
Authors (4)
Author, Maintainer
Author · added in 0.3.0
Package Timeline

6 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
  • 0.4.2Latest
    2025-01-31 · current release · diff ↗
  • unarchivedReturned to CRAN
    2025-01-31
  • R
    R 4.4.0 released · 2024-04-24
  • archivedRemoved from CRAN
    2024-02-10
    check problems were not corrected in time
  • R
    R 4.3.0 released · 2023-04-21
  • 0.4.1
    2022-10-26 · diff ↗
  • 0.4.0
    2022-10-21 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 0.3.0
    2021-09-24 · diff ↗
  • 0.2.0
    2021-05-20 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 0.1.0
    2021-01-26
  • R
    R 4.0.0 released · 2020-04-24

Package metadata

First published
2021-01-26
Total releases
6 / 5 yrs
License
GPL (>= 2) OSI
Minimum R
≥ 3.5.0
Download size
113 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("StratifiedSampling")
Jauslin, R., Eustache, E., Panahbehagh, B., & Tillé, Y. (2025). StratifiedSampling: Different Methods for Stratified Sampling (Version 0.4.2) [Computer software]. https://doi.org/10.32614/CRAN.package.StratifiedSampling

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 StratifiedSampling version 0.4.2 [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