# BDgraph: An R Package for Bayesian Structure Learning in Graphical Models

arXiv: https://arxiv.org/abs/1501.05108 · HTML: https://mlsanity.com/paper/1501.05108/

## Key facts

- Cited by 4 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 21 Jan 2015.

## Built on by (most cited first, 4 of 4)

- [Benchpress: A Scalable and Versatile Workflow for Benchmarking Structure Learning Algorithms](https://mlsanity.com/paper/2107.03863/) (2021)
- [Interpretable Deep Learning Methods for Multiview Learning](https://mlsanity.com/paper/2302.07930/) (2023)
- [Scalable Bayesian Structure Learning for Gaussian Graphical Models Using Marginal Pseudo-likelihood](https://mlsanity.com/paper/2307.00127/) (2023)
- [The Role of Feature Interactions in Graph-based Tabular Deep Learning](https://mlsanity.com/paper/2510.04543/) (2025)

## Abstract (arXiv)

Graphical models provide powerful tools to uncover complicated patterns in multivariate data and are commonly used in Bayesian statistics and machine learning. In this paper, we introduce the R package BDgraph which performs Bayesian structure learning for general undirected graphical models (decomposable and non-decomposable) with continuous, discrete, and mixed variables. The package efficiently implements recent improvements in the Bayesian literature, including that of Mohammadi and Wit (2015) and Dobra and Mohammadi (2018). To speed up computations, the computationally intensive tasks have been implemented in C++ and interfaced with R, and the package has parallel computing capabilities. In addition, the package contains several functions for simulation and visualization, as well as several multivariate datasets taken from the literature and used to describe the package capabilities. The paper includes a brief overview of the statistical methods which have been implemented in the package. The main part of the paper explains how to use the package. Furthermore, we illustrate the package's functionality in both real and artificial examples.
