Skip to content

multinomineq

0.2.6

Bayesian Inference for Multinomial Models with Inequality Constraints

0packages depend
3.4Kdownloads / year
64.5%test coverage
9/13checks pass

Overview

About
Maintained by Daniel W. HeckFirst published 2019-05-165 releasesCRAN page ↗GitHub ↗

Implements Gibbs sampling and Bayes factors for multinomial models with linear inequality constraints on the vector of probability parameters. As special cases, the model class includes models that predict a linear order of binomial probabilities (e.g., p[1] < p[2] < p[3] < .50) and mixture models assuming that the parameter vector p must be inside the convex hull of a finite number of predicted patterns (i.e., vertices). A formal definition of inequality-constrained multinomial models and the implemented computational methods is provided in: Heck, D.W., & Davis-Stober, C.P. (2019). Multinomial models with linear inequality constraints: Overview and improvements of computational methods for Bayesian inference. Journal of Mathematical Psychology, 91, 70-87. doi:10.1016/j.jmp.2019.03.004. Inequality-constrained multinomial models have applications in the area of judgment and decision making to fit and test random utility models (Regenwetter, M., Dana, J., & Davis-Stober, C.P. (2011). Transitivity of preferences. Psychological Review, 118, 42–56, doi:10.1037/a0021150) or to perform outcome-based strategy classification to select the decision strategy that provides the best account for a vector of observed choice frequencies (Heck, D.W., Hilbig, B.E., & Moshagen, M. (2017). From information processing to decisions: Formalizing and comparing probabilistic choice models. Cognitive Psychology, 96, 26–40. doi:10.1016/j.cogpsych.2017.05.003).

Install

Health

CRAN checks
4NOTE9OK
Failing flavors
  • NOTE r-devel-linux-x86_64-debian-clang
  • NOTE r-devel-linux-x86_64-debian-gcc
  • NOTE r-devel-linux-x86_64-fedora-gcc
  • NOTE r-devel-windows-x86_64
Slowest check: 7.0 min · r-devel-linux-x86_64-fedora-clang
Code health
Yes
Tests · ratio 0.30
64.5%
Coverage · measured lines
100%
Documentation · exports
6
Dependencies · direct
Check history
  • NOTE2026-07-16
    11 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 1 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
Show 4 earlier snapshots
  • ERROR2026-04-18
    11 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • NOTE2026-04-10
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-09
    11 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • NOTE2026-03-10
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesYes · dynamicpkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
98%
Return-value docs
36%
References docs
50%

Downloads

3.4K
CRAN downloads in the past year
Rank #11,721 · ~9/day · ~280/mo
Daily download trend is not available in this view yet.
22030 days
86190 days
3.4K1 year
Compare downloads with other packages →
Also on391 r2u4 autocran

Repository

Repository
4Stars
1Forks
0Open issues
0Open PRs
0Releases
158Commits
1Contributors
158 commits · Last activity 2025-07-22 · +33.3% stars, 30d

Stars over time

2024-12-04 · 32026-07-07 · 4

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/danheck/multinomineq on 2026-08-02.

Continuous integration (1)
GitHub Actions
Lint, format, editor (1)
RStudio project
Coverage (1)
Codecov
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
12 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.0.0
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Datasets

People & History

People (1)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Package Timeline

5 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
  • R
    R 4.4.0 released · 2024-04-24
  • 0.2.6Latest
    2024-02-20 · current release · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 0.2.5
    2022-11-22 · diff ↗
  • 0.2.4
    2022-08-22 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 0.2.3
    2022-02-28 · diff ↗
  • unarchivedReturned to CRAN
    2022-02-28
  • archivedRemoved from CRAN
    2022-01-20
    mail to the maintainer is undeliverable
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • 0.2.1
    2019-05-16
  • R
    R 3.6.0 released · 2019-04-26

Package metadata

First published
2019-05-16
Total releases
5 / 7 yrs
License
GPL-3 OSI
Minimum R
≥ 4.0.0
Bundled data
589 KB / 6 files
Download size
770 KB
Installed size
not tracked yet
With dependencies
not tracked yet
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