Skip to content

BayesMultiMode

1.0.0

Bayesian Mode Inference

0packages depend
4.5Kdownloads / year
67.3%test coverage
13/13checks pass

Overview

About
Maintained by Paul LabonneFirst published 2022-10-1210 releasesCRAN page ↗GitHub ↗

A two-step Bayesian approach for mode inference (Baştürk et al., 2026) doi:10.18637/jss.v116.i03. First, a mixture distribution is fitted on the data using a sparse finite mixture (SFM) Markov chain Monte Carlo (MCMC) algorithm. The number of mixture components does not have to be known; the size of the mixture is estimated endogenously through the SFM approach. Second, the modes of the estimated mixture at each MCMC draw are retrieved using algorithms specifically tailored for mode detection. These estimates are then used to construct posterior probabilities for the number of modes, their locations and uncertainties, providing a powerful tool for mode inference.

Install

Health

CRAN checks
13OK
Slowest check: 3.9 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.30
67.3%
Coverage · measured lines
100%
Documentation · exports
14
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-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
Show 1 earlier snapshots
  • NOTE2026-03-10
    11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 716 wordsVignettesNopkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
95%
Return-value docs
100%
References docs
30%

Downloads

4.5K
CRAN downloads in the past year
Rank #6,646 · ~12/day · ~373/mo
Daily download trend is not available in this view yet.
26730 days
1.3K90 days
4.5K1 year
Compare downloads with other packages →
Also on278 r2u42 autocran

Repository

Repository
2Stars
2Forks
0Open issues
0Open PRs
0Releases
363Commits
3Contributors
r-packager
License GPL-3.0 · 363 commits · Last activity 2026-05-31

Stars over time

2023-01-19 · 12026-07-07 · 2

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/paullabonne/bayesmultimode on 2026-08-16.

Continuous integration (1)
GitHub Actions
Reproducibility and dev environment (1)
data-raw/
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Docs source (1)
README.Rmd
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

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

Nothing depends on this yet.

Code & Tests

Datasets

People & History

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

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

  • 1.0.0Latest
    2026-06-01 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 0.7.5
    2026-02-27 · diff ↗
  • 0.7.4
    2025-09-28 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 0.7.3
    2024-10-31 · diff ↗
  • 0.7.2
    2024-10-25 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 0.7.1
    2024-03-21 · diff ↗
  • 0.7.0
    2024-02-05 · diff ↗
  • 0.6.0
    2023-08-08 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 0.5.1
    2023-04-06 · diff ↗
  • 0.1.1
    2022-10-12
  • R
    R 4.2.0 released · 2022-04-22

Package metadata

First published
2022-10-12
Total releases
10 / 4 yrs
License
GPL (>= 3) OSI
Minimum R
≥ 3.5.0
Bundled data
52 KB / 4 files
Download size
4.8 MB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("BayesMultiMode")
Labonne, P., Baştürk, N., Cross, J., Hoogerheide, L., de Knijff, P., & van Dijk, H. (2026). BayesMultiMode: Bayesian Mode Inference (Version 1.0.0) [Computer software]. https://doi.org/10.32614/CRAN.package.BayesMultiMode

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 BayesMultiMode version 1.0.0 [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