Package: metamixr
Title: Bayesian Meta-Analytic Mixture Modelling
Version: 0.1.0
Authors@R: c(
    person("Maximilian", "Maier", email = "maximilianmaier0401@gmail.com",
           role = c("aut", "cre"), comment = c(ORCID = "0000-0002-9873-6096")),
    person("Trustees of", "Columbia University", role = "cph"))
Description: Fits Bayesian random-effects meta-analytic mixture models in which
    the true study effects are drawn from a mixture of normal components with
    component-specific means and between-study heterogeneity. The mixture model
    can be combined with step-function selection models (Vevea and Hedges, 1995,
    <doi:10.1007/BF02294384>) to adjust for publication bias, either with one
    selection model for all studies or with separate selection models for
    groups of studies. Models are estimated by Hamiltonian Monte Carlo using
    'rstan' and returned as 'stanfit' objects, so posterior summaries,
    posterior predictive checks and marginal likelihoods for model comparison
    (via 'bridgesampling') are readily available. Also includes a data
    simulator and the nudging meta-analysis data of Mertens et al. (2022)
    <doi:10.1073/pnas.2107346118>.
License: MIT + file LICENSE
URL: https://github.com/MaxMaier42/metamix,
        https://maxmaier42.github.io/metamix/
BugReports: https://github.com/MaxMaier42/metamix/issues
Encoding: UTF-8
Language: en-GB
RoxygenNote: 7.3.3
Biarch: true
Depends: R (>= 3.5)
Imports: methods, Rcpp (>= 0.12.0), RcppParallel (>= 5.0.1), rstan (>=
        2.26.0), rstantools (>= 2.4.0), stats
LinkingTo: BH (>= 1.66.0), Rcpp (>= 0.12.0), RcppEigen (>= 0.3.3.3.0),
        RcppParallel (>= 5.0.1), rstan (>= 2.26.0), StanHeaders (>=
        2.26.0)
SystemRequirements: GNU make
Suggests: testthat (>= 3.0.0), bridgesampling, knitr, rmarkdown
Config/testthat/edition: 3
VignetteBuilder: knitr
LazyData: true
NeedsCompilation: yes
Packaged: 2026-10-09 17:22:46 UTC; maxim
Author: Maximilian Maier [aut, cre] (ORCID:
    <https://orcid.org/0000-0002-9873-6096>),
  Trustees of Columbia University [cph]
Maintainer: Maximilian Maier <maximilianmaier0401@gmail.com>
Repository: CRAN
Date/Publication: 2026-10-21 14:00:08 UTC
