Package: BayesMultiMode 1.0.0

BayesMultiMode: Bayesian Mode Inference

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.

Authors:Nalan Baştürk [aut], Jamie Cross [aut], Peter de Knijff [aut], Lennart Hoogerheide [aut], Paul Labonne [aut, cre], Herman van Dijk [aut]

BayesMultiMode_1.0.0.tar.gz
BayesMultiMode_1.0.0.zip(r-4.7-any)BayesMultiMode_1.0.0.zip(r-4.6-any)BayesMultiMode_1.0.0.zip(r-4.5-any)
BayesMultiMode_1.0.0.tgz(r-4.6-any)BayesMultiMode_1.0.0.tgz(r-4.5-any)
BayesMultiMode_1.0.0.tar.gz(r-4.7-any)BayesMultiMode_1.0.0.tar.gz(r-4.6-any)
BayesMultiMode_1.0.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
BayesMultiMode/json (API)

# Install 'BayesMultiMode' in R:
install.packages('BayesMultiMode', repos = c('https://paullabonne.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/paullabonne/bayesmultimode/issues

Datasets:
  • ct47 - X chromosomal macrosatellite repeats ct47
  • cyclone - Tropical cyclones lifetime maximum intensity
  • d4z4 - Autosomal macrosatellite repeats d4z4
  • galaxy - Galaxy series

On CRAN:

Conda:

3.30 score 2 stars 6 scripts 485 downloads 6 exports 98 dependencies

Last updated from:68841192e4. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK191
source / vignettesOK471
linux-releaseOK183
macos-releaseOK191
macos-oldrelOK238
windows-develOK141
windows-releaseOK123
windows-oldrelOK139
wasm-releaseOK146

Exports:bayes_fitbayes_mixturebayes_modebayes_tracemix_modemixture

Dependencies:abindapeassertthatbackportsbayesplotbootbroomcarcarDatacheckmateclicodacolorspacecorpcorcorrplotcowplotcpp11cubatureDerivdigestdistributionaldoBydplyrfarverforecastFormulafracdiffgenericsggdistggplot2ggpubrggrepelggridgesggsciggsignifgluegridExtragtablegtoolsisobandlabelinglatticelifecyclelme4lmtestmagrittrMASSMatrixMatrixModelsmatrixStatsMCMCglmmmgcvminqamnormtmodelrmvtnormnlmenloptrnnetnumDerivpbkrtestpillarpkgconfigplyrpolynomposteriorpurrrquadprogquantregR6rbibutilsRColorBrewerRcppRcppArmadilloRcppEigenRdpackreformulasreshape2rlangrstatixS7scalessnSparseMstringistringrsurvivaltensorAtibbletidyrtidyselecttimeDateurcautf8vctrsviridisLitewithrzoo