Skip to content

MOSAlloc

1.2.6

Constraint Multiobjective Sample Allocation

0packages depend
1.4Kdownloads / year
51.4%test coverage
13/13checks pass

Overview

About
Maintained by Felix WillemsFirst published 2026-01-274 releasesCRAN page ↗GitLab ↗

Provides a framework for multipurpose optimal resource allocation in survey sampling, extending the classical optimal allocation principles introduced by Tschuprow (1923) and Neyman (1934) to multidomain and multivariate allocation problems. The primary method mosalloc() allows for the consideration of precision and cost constraints at the subpopulation level while minimizing either a vector of sampling errors or survey costs across a broad range of optimal sample allocation problems. The approach supports both single- and multistage designs. For single-stage stratified random sampling, the mosallocSTRS() function offers a user- friendly interface. Sensitivity analysis is supported through the problem's dual variables, which are naturally obtained via the internal use of the Embedded Conic Solver from the 'ECOSolveR' package. See Willems (2025, doi:10.25353/ubtr-9200-484c-5c89) for a detailed description of the theory behind 'MOSAlloc'.

Install

Health

CRAN checks
13OK
Slowest check: 1.2 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.17
51.4%
Coverage · measured lines
100%
Documentation · exports
2
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-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 246 wordsVignettesNopkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
81%
Return-value docs
100%
References docs
22%

Downloads

1.4K
CRAN downloads in the past year
Rank #21,247 · ~4/day · ~118/mo
Daily download trend is not available in this view yet.
14930 days
53490 days
1.4K1 year
Compare downloads with other packages →
Also on59 r2u17 autocran

Repository

Repository practices

Upstream repositoryBeta

Repository gitlab.com/willemsf/mosalloc is linked, but repository-practices checks have not run for it yet. Checks are GitHub-only for now.

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

Dependencies

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

Nothing depends on this yet.

Code & Tests

People & History

People (2)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Other (1)
Thesis advisor
Package Timeline

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

  • 1.2.6Latest
    2026-06-07 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 1.2.5
    2026-02-14 · diff ↗
  • unarchivedReturned to CRAN
    2026-02-14
  • archivedRemoved from CRAN
    2026-02-12
    issues were not corrected even on re-submission
  • 1.2.4
    2026-02-07 · diff ↗
  • 1.2.3
    2026-01-27
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2026-01-27
Total releases
4 / 1 yrs
License
GPL (>= 3) OSI
Download size
58 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("MOSAlloc")
Willems, F., & Münnich, R. (2026). MOSAlloc: Constraint Multiobjective Sample Allocation (Version 1.2.6) [Computer software]. https://doi.org/10.32614/CRAN.package.MOSAlloc

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

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