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)BayesMultiMode_1.0.0.zip(r-4.6)BayesMultiMode_1.0.0.zip(r-4.5)
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
card.svg |card.png
BayesMultiMode/json (API)
NEWS

# 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.60 score 2 stars 10 scripts 259 downloads 6 exports 97 dependencies

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

TargetResultTimeFilesSyslog
linux-devel-x86_64OK208
source / vignettesOK216
linux-release-x86_64OK216
macos-release-arm64OK152
macos-oldrel-arm64OK125
windows-develOK234
windows-releaseOK128
windows-oldrelOK137
wasm-releaseOK144

Exports:bayes_fitbayes_mixturebayes_modebayes_tracemix_modemixture

Dependencies:abindapeassertthatbackportsbayesplotbootbroomcarcarDatacheckmateclicodacolorspacecorpcorcorrplotcowplotcpp11cubatureDerivdigestdistributionaldoBydplyrfarverforecastFormulafracdiffgenericsggplot2ggpubrggrepelggridgesggsciggsignifgluegridExtragtablegtoolsisobandlabelinglatticelifecyclelme4lmtestmagrittrMASSMatrixMatrixModelsmatrixStatsMCMCglmmmgcvmicrobenchmarkminqamnormtmodelrmvtnormnlmenloptrnnetnumDerivpbkrtestpillarpkgconfigplyrpolynomposteriorpurrrquantregR6rbibutilsRColorBrewerRcppRcppArmadilloRcppEigenRdpackreformulasreshape2rlangrstatixS7scalessnSparseMstringistringrsurvivaltensorAtibbletidyrtidyselecttimeDateurcautf8vctrsviridisLitewithrzoo