Package: BayesMultiMode Type: Package Title: Bayesian Mode Inference Version: 1.0.0 Authors@R: c(person(given = "Nalan", family = "Baştürk", role = "aut"), person(given = "Jamie", family = "Cross", role = "aut"), person(given = "Peter", family = "de Knijff", role = "aut"), person(given = "Lennart", family = "Hoogerheide", role = "aut"), person(given = "Paul", family = "Labonne", email= "labonnepaul@gmail.com", role = c("aut", "cre")), person(given = "Herman", family = "van Dijk", role = "aut")) Description: A two-step Bayesian approach for mode inference (Baştürk et al., 2026) . 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. License: GPL (>= 3) Imports: assertthat, bayesplot, dplyr, ggplot2 (>= 3.4.0), ggpubr, gtools, magrittr, MCMCglmm, mvtnorm, posterior, sn, stringr, tidyr, Rdpack Depends: R (>= 3.5.0) Suggests: testthat (>= 3.0.0) RdMacros: Rdpack Encoding: UTF-8 LazyData: true URL: https://github.com/paullabonne/BayesMultiMode BugReports: https://github.com/paullabonne/BayesMultiMode/issues NeedsCompilation: no Roxygen: list(markdown = TRUE) RoxygenNote: 7.3.3 Config/testthat/edition: 3 Config/pak/sysreqs: cmake make libicu-dev Repository: https://paullabonne.r-universe.dev Date/Publication: 2026-05-31 22:50:49 UTC RemoteUrl: https://github.com/paullabonne/bayesmultimode RemoteRef: HEAD RemoteSha: 68841192e427c7270049a53d703837f2128a155f Packaged: 2026-10-22 11:41:21 UTC; root Author: Nalan Baştürk [aut], Jamie Cross [aut], Peter de Knijff [aut], Lennart Hoogerheide [aut], Paul Labonne [aut, cre], Herman van Dijk [aut] Maintainer: Paul Labonne