Skip to content

metaBMA

0.6.9Package record

Bayesian Model Averaging for Random and Fixed Effects Meta-Analysis

1packages dependsuggested by 5
83.9Kdownloads / year
62.0%test coverage
13/13flavors OK

Overview

About

Computes the posterior model probabilities for standard meta-analysis models (null model vs. alternative model assuming either fixed- or random-effects, respectively). These posterior probabilities are used to estimate the overall mean effect size as the weighted average of the mean effect size estimates of the random- and fixed-effect model as proposed by Gronau, Van Erp, Heck, Cesario, Jonas, & Wagenmakers (2017, doi:10.1080/23743603.2017.1326760). The user can define a wide range of non-informative or informative priors for the mean effect size and the heterogeneity coefficient. Moreover, using pre-compiled Stan models, meta-analysis with continuous and discrete moderators with Jeffreys-Zellner-Siow (JZS) priors can be fitted and tested. This allows to compute Bayes factors and perform Bayesian model averaging across random- and fixed-effects meta-analysis with and without moderators. For a primer on Bayesian model-averaged meta-analysis, see Gronau, Heck, Berkhout, Haaf, & Wagenmakers (2021, doi:10.1177/25152459211031256).

Changes in 0.6.9
  • Updated syntax for Stan arrays (thanks to @andrjohns)
  • Dependency on newest version of rstan (>= 2.26.0)
  • Updated references for tutorials on meta-analysis with model averaging
  • Bug fixes for passing of arguments in plot_forest() (#23 and #24)

From NEWS in the release

Install

Health

CRAN checks
13OK
Slowest check: 33.8 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-07-29
  • ERROR12 OK, 1 ERROR2026-07-27
  • OK12 OK2026-04-25
Show 3 earlier changesHide 3 earlier changes
  • NOTE11 OK, 3 NOTE2026-04-22
  • ERROR10 OK, 3 NOTE, 1 ERROR2026-04-18
  • NOTE11 OK, 3 NOTE2026-03-10
Advisories

none known

Documentation

In release 0.6.9
README· In the repository, left out of the releaseVignettesYes · 1 · dynamicNEWSYes · 33% structured · mentions 0.6.9Citation fileYes · software entry onlyWebsiteYes · pkgdown
Help pages
21includes a package overview page
Examples that run
63%10 run in a plain check · 6 only when donttest examples are enabled (R CMD check --as-cran)
Exported functions with examples
86%
Documented parameters
93%
Return-value docs
21%
Help pages citing references
38%

Downloads

83.9K
CRAN downloads in the past year
Rank #1,809 · ~230/day · ~7K/mo
Daily download trend is not available in this view yet.
3.9K30 days
11.1K90 days
83.9K1 year
Compare downloads with other packages →
Also on564 r2u9 autocran3.3K conda_forge308 c2d4u

Repository

29Stars
2Forks
1Open issues
0Open PRs
2Releases
248Commits
5Commit identities
meta-analysisrbayesian-inferencebayesstanmodel-averagingbayes-factorevidence-synthesis
248 commits · Last activity 2025-07-22 · 0% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
45
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-07-25 · 292026-07-07 · 29
PracticesBeta

9 development-tooling and community-health practices detected across 4 families in the upstream repository

Checks run against github.com/danheck/metabma on 2026-10-11.

Continuous integration (3)
GitHub ActionsR CMD check workflowTravis CI (config file)

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Docs source (2)

GitHub Pages site last deployed 2025-07-22 · The repository has a site deploy workflow

Coverage (1)
Coverage reporting
Lint, format, editor (3)
lintrLint workflowRStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
19 external dependencies (excludes base and recommended)

Installing metaBMA adds 56 packages (25 with compiled code, 59 MB of source tarballs). Heaviest: BH 14 MB, stringi 11 MB, ggplot2 6.0 MB.

Depends (3)
R >= 4.0.0Rcppmethods
Enhances (0)
none
Reverse dependencies
1direct
3indirect
Imports 1
Suggested by 5
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

Datasets

People & History

People (4)
Author, Maintainer since 0.3.8 (2017)
Contributor · added in 0.6.7
Releases (9)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 0.6.9Latest
    record
    2023-09-13 · current release · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 0.6.7
    record
    2021-03-17 · diff ↗ ·
    added 2 exports
    meta_sensitivity, transform_es
  • 0.6.6
    record
    2021-01-08 · diff ↗
  • 0.6.5
    record
    2020-10-29 · diff ↗
  • 0.6.3
    record
    2020-06-02 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 0.6.2
    record
    2019-09-16 · diff ↗
  • 0.6.1
    record
    2019-07-10 · diff ↗ ·
    removed 5 exports
    dtriangular, dtruncnorm, predictive, rtriangular, rtruncnorm
    added 2 exports
    meta_ordered, predicted_bf
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
Show 3 earlier eventsHide 3 earlier events

Package metadata

First published
2017-07-26
Total releases
9 / 9 yrs
License
GPL-3 OSI
Minimum R
≥ 4.0.0
Bundled data
2.2 KB / 3 files
Download size
164 KB
Appears in task views

Cite

Cite this package

Run in R for the authors' entry:

citation("metaBMA")

The package provides a citation file, so citation() returns the authors' own entry.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for metaBMA version 0.6.9 [Data set]. HJJB, LLC. Data release v2026-10-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy