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) <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.
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
RoxygenNote: 7.3.3
Config/testthat/edition: 3
Packaged: 2026-05-31 22:45:37 UTC; paullabonne
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 <labonnepaul@gmail.com>
Repository: CRAN
Date/Publication: 2026-06-01 06:50:19 UTC
Built: R 4.5.2; ; 2026-06-01 09:49:56 UTC; unix
