Skip to content

BiDAG

2.1.4

Bayesian Inference for Directed Acyclic Graphs

2packages depend
6.2Kdownloads / year
test coverage
9/13checks pass

Overview

About
Maintained by Polina SuterFirst published 2017-07-1923 releasesCRAN page ↗

Implementation of a collection of MCMC methods for Bayesian structure learning of directed acyclic graphs (DAGs), both from continuous and discrete data. For efficient inference on larger DAGs, the space of DAGs is pruned according to the data. To filter the search space, the algorithm employs a hybrid approach, combining constraint-based learning with search and score. A reduced search space is initially defined on the basis of a skeleton obtained by means of the PC-algorithm, and then iteratively improved with search and score. Search and score is then performed following two approaches: Order MCMC, or Partition MCMC. The BGe score is implemented for continuous data and the BDe score is implemented for binary data or categorical data. The algorithms may provide the maximum a posteriori (MAP) graph or a sample (a collection of DAGs) from the posterior distribution given the data. All algorithms are also applicable for structure learning and sampling for dynamic Bayesian networks. References: J. Kuipers, P. Suter, G. Moffa (2022) doi:10.1080/10618600.2021.2020127, N. Friedman and D. Koller (2003) doi:10.1023/A:1020249912095, J. Kuipers and G. Moffa (2017) doi:10.1080/01621459.2015.1133426, M. Kalisch et al. (2012) doi:10.18637/jss.v047.i11, D. Geiger and D. Heckerman (2002) doi:10.1214/aos/1035844981, P. Suter, J. Kuipers, G. Moffa, N.Beerenwinkel (2023) doi:10.18637/jss.v105.i09.

Install

Health

CRAN checks
4NOTE9OK
Failing flavors
  • NOTE r-devel-linux-x86_64-debian-clang
  • NOTE r-devel-linux-x86_64-debian-gcc
  • NOTE r-devel-linux-x86_64-fedora-clang
  • NOTE r-devel-linux-x86_64-fedora-gcc
Slowest check: 4.5 min · r-devel-windows-x86_64
Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
9
Dependencies · direct
Check history
  • NOTE2026-04-22
    10 OK · 4 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-18
    9 OK · 4 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • NOTE2026-03-10
    10 OK · 4 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesNopkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
80%
Documented parameters
97%
Return-value docs
97%
References docs
28%

Downloads

6.2K
CRAN downloads in the past year
Rank #5,168 · ~17/day · ~520/mo
Daily download trend is not available in this view yet.
43730 days
1.5K90 days
6.2K1 year
Compare downloads with other packages →
Also on450 r2u

Dependencies

Declared dependencies
7 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.5.0
Imports (9)
RcppmethodsgraphRgraphvizRBGLpcalggraphicsMatrixcoda
LinkingTo (1)
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
2direct
0indirect

Code & Tests

Datasets

People & History

People (0)

Author records are not tracked yet for this package.

Listed in earlier versions (3)
no longer listed · 1.0.0 to 2.1.4
no longer listed · 1.0.0 to 1.0.1
no longer listed · 1.0.2 to 2.1.4
Package Timeline

23 releases. Pick two to compare their code metrics. R releases are shown for context.

  • 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
  • 2.1.4Latest
    2023-05-16 · current release · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 2.1.3
    2023-01-23 · diff ↗
  • 2.1.2
    2022-12-21 · diff ↗
  • 2.1.1
    2022-08-05 · diff ↗
  • 2.1.0
    2022-06-27 · diff ↗
  • 2.0.9
    2022-06-20 · diff ↗
  • 2.0.7
    2022-05-16 · diff ↗
  • 2.0.6
    2022-05-09 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 2.0.5
    2022-04-13 · diff ↗
  • 2.0.4
    2021-11-30 · diff ↗
  • 2.0.3
    2021-07-28 · diff ↗
Show 17 earlier events
  • R
    R 4.1.0 released · 2021-05-18
  • 2.0.2
    2021-04-30 · diff ↗
  • 2.0.1
    2021-04-28 · diff ↗
  • 2.0.0
    2021-02-15 · diff ↗
  • 1.4.1
    2020-07-14 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 1.3.4
    2020-04-12 · diff ↗
  • 1.3.0
    2020-02-19 · diff ↗
  • 1.2.0
    2019-08-19 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 1.1.2
    2018-05-24 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • 1.1.1
    2018-03-16 · diff ↗
  • 1.0.2
    2017-09-08 · diff ↗
  • 1.0.1
    2017-07-26 · diff ↗
  • 1.0.0
    2017-07-19
  • R
    R 3.4.0 released · 2017-04-21

Package metadata

First published
2017-07-19
Total releases
23 / 9 yrs
License
GPL (>= 2) OSI
Minimum R
≥ 3.5.0
Bundled data
915 KB / 13 files
Download size
1.0 MB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("BiDAG")

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 BiDAG version 2.1.4 [Data set]. HJJB, LLC. Data release v2026-08-16. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-16, 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