Skip to content

MOSAlloc

1.2.6Package record

Constraint Multiobjective Sample Allocation

0packages depend
1.8Kdownloads / year
51.4%test coverage
13/13flavors OK

Overview

About

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'.

Changes in 1.2.6

News

  • Added automatic filling of missing opts parameters.
  • Added Example 10 to mosalloc.R.
  • Added a paragraph to mosalloc.R concerning numerical issues arising from extreme heterogeneity in the input data.
  • Added a test for equality cost constraints.

Bug fixes

  • Avoided numerical discrepancies arising from division and matrix multiplication.
  • Fixed the return of lower and upper cost bounds in mosallocSTRS.R.

---

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 1.2 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-09-08
  • ERROR12 OK, 1 ERROR2026-09-07
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.2.6
READMEYes · 246 wordsVignettesNoNEWSYes · 100% structured · mentions 1.2.6Citation fileYes · cites a publicationWebsitenot declared in DESCRIPTION
Help pages
9
Examples that run
100%7 run in a plain check
Exported functions with examples
100%
Documented parameters
81%
Return-value docs
100%
Help pages citing references
22%

Downloads

1.8K
CRAN downloads in the past year
Rank #23,076 · ~5/day · ~152/mo
Daily download trend is not available in this view yet.
21930 days
56090 days
1.8K1 year
Compare downloads with other packages →
Also on66 r2u5 autocran

Repository

0Stars
0Forks
0Open issues
0Open PRs
0Releases
74Commits
1Commit identities
74 commits · Last activity 2026-06-05
Responsiveness
not measured
PracticesBeta

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 v3 (2026-09-26)

Dependencies

Declared dependencies
2 external dependencies (excludes base and recommended)

Installing MOSAlloc adds 2 packages (2 with compiled code, 2.7 MB of source tarballs). Heaviest: ECOSolveR 2.1 MB, cli 629 KB.

Depends (0)
none
Imports (2)
ECOSolveRMatrix
LinkingTo (0)
none
Suggests (2)
paralleltestthat
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (2)
Author, Maintainer since 1.2.3 (2026)
Thesis advisor
Releases (4)

Pick two releases to compare their code metrics.

  • 1.2.6Latest
    record
    2026-06-07 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • unarchivedReturned to CRAN
    2026-02-14
  • 1.2.5
    record
    2026-02-14 · diff ↗
  • archivedRemoved from CRAN
    2026-02-12
    issues were not corrected even on re-submission
  • 1.2.4
    record
    2026-02-07 · diff ↗
  • 1.2.3
    record
    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

Cite

Cite this package

Run in R for the authors' entry:

citation("MOSAlloc")

The package provides a citation file, so citation() returns the authors' own entry.

It points to 10.25353/ubtr-9200-484c-5c89.

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-10-20. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-20, 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