Skip to content

optimall

1.4.0

Allocate Samples Among Strata

0packages depend
5.9Kdownloads / year
78.4%test coverage
13/13checks pass

Overview

About
Maintained by Jasper YangFirst published 2021-07-2112 releasesCRAN page ↗GitHub ↗

Functions for the design process of survey sampling, with specific tools for multi-wave and multi-phase designs. Perform optimum allocation using Neyman (1934) doi:10.2307/2342192 or Wright (2012) doi:10.1080/00031305.2012.733679 allocation, split strata based on quantiles or values of known variables, randomly select samples from strata, allocate sampling waves iteratively, and organize a complex survey design. Also includes a Shiny application for observing the effects of different strata splits. A paper on this package was published in the Journal of Statistical Software doi:10.18637/jss.v114.i10.

Install

Health

CRAN checks
13OK
Slowest check: 2.0 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.91
78.4%
Coverage · measured lines
100%
Documentation · exports
8
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-06-29
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-25
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Show 4 earlier snapshots
  • ERROR2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-04-09
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-02
    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
READMEYes · 384 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
76%
References docs
10%

Downloads

5.9K
CRAN downloads in the past year
Rank #7,343 · ~16/day · ~493/mo
Daily download trend is not available in this view yet.
22830 days
1.2K90 days
5.9K1 year
Compare downloads with other packages →
Also on210 r2u30 autocran

Repository

Repository
7Stars
2Forks
0Open issues
0Open PRs
8Releases
562Commits
3Contributors
562 commits · Last activity 2026-04-03 · 0% stars, 30d

Stars over time

2025-05-22 · 62026-07-07 · 7

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/yangjasp/optimall on 2026-08-16.

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

Dependencies

Declared dependencies
17 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.5.0
Imports (8)
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Datasets

People & History

People (5)
Maintainer (1)
Author, Maintainer
Authors (2)
Author, Maintainer
Contributors (2)
Contributor
Contributor
Reviewers (1)
Package Timeline

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

  • R
    R 4.6.0 released · 2026-04-24
  • 1.4.0Latest
    2026-04-04 · current release · diff ↗
  • 1.3.1
    2026-01-28 · diff ↗
  • 1.3.0
    2025-09-08 · diff ↗
  • 1.2.0
    2025-07-17 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 1.1.1
    2024-06-03 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 1.1.0
    2024-04-13 · diff ↗
  • unarchivedReturned to CRAN
    2024-04-13
  • archivedRemoved from CRAN
    2024-04-12
    issues were not corrected in time
  • 0.1.5
    2024-02-15 · diff ↗
  • 0.1.4
    2024-01-12 · diff ↗
  • 0.1.3
    2023-09-06 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 0.1.2
    2022-11-09 · diff ↗
Show 6 earlier events
  • R
    R 4.2.0 released · 2022-04-22
  • 0.1.1
    2022-02-09 · diff ↗
  • unarchivedReturned to CRAN
    2022-02-09
  • archivedRemoved from CRAN
    2022-02-06
    check problems were not corrected in time
  • 0.1.0
    2021-07-21
  • R
    R 4.1.0 released · 2021-05-18

Package metadata

First published
2021-07-21
Total releases
12 / 5 yrs
License
GPL-3 OSI
Minimum R
≥ 3.5.0
Bundled data
186 KB / 1 file
Download size
3.0 MB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("optimall")
Yang, J., Amorim, G., Lumley, T., Shaw, P., & Shepherd, B. (2026). optimall: Allocate Samples Among Strata (Version 1.4.0) [Computer software]. https://doi.org/10.32614/CRAN.package.optimall

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

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