Skip to content

bgms

0.2.0.0

Bayesian Analysis of Graphical Models

1packages depend
6.8Kdownloads / year
test coverage
13/13checks pass

Overview

About
Maintained by Maarten MarsmanFirst published 2023-04-2113 releasesCRAN page ↗GitHub ↗

Bayesian estimation and edge selection for graphical models of mixed binary, ordinal, and continuous variables. The variable types determine the model: an ordinal Markov random field for discrete data, a Gaussian graphical model for continuous data, or a mixed Markov random field combining both. Edge inclusion is determined through spike-and-slab priors, yielding posterior inclusion probabilities for each edge. Supports multi-group comparison via 'bgmCompare()', simulation, prediction, and missing data imputation.

Install

Health

CRAN checks
13OK
Slowest check: 31.1 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 1.24
not tracked
Coverage
100%
Documentation · exports
11
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-05-02
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Show 3 earlier snapshots
  • NOTE2026-04-22
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-18
    11 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • NOTE2026-03-10
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 232 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
27%
Documented parameters
96%
Return-value docs
95%
References docs
10%

Downloads

6.8K
CRAN downloads in the past year
Rank #4,852 · ~19/day · ~567/mo
Daily download trend is not available in this view yet.
61330 days
1.6K90 days
6.8K1 year
Compare downloads with other packages →
Also on552 r2u42 autocran

Repository

Repository
9Stars
8Forks
0Open issues
9Open PRs
0Releases
642Commits
9Contributors
bayesian-inferencebayesian-statisticsgraphical-modelshamiltonian-monte-carlomarkov-chain-monte-carlomcmcmetropolis-hastingsparallel-computing
License GPL-2.0 · 642 commits · Last activity 2026-08-13 · +12.5% stars, 30d

Stars over time

2025-07-02 · 62026-08-13 · 9

Repository practices

Upstream repositoryBeta

8 development-tooling and community-health practices detected across 5 families in the upstream repository

Checks run against github.com/bayesian-graphical-modelling-lab/bgms on 2026-08-16.

Continuous integration (1)
GitHub Actions
Reproducibility and dev environment (1)
data-raw/
CRAN release process (1)
cran-comments.md
Lint, format, editor (3)
lintrEditorConfigRStudio project
Show all practices
Governance and community (2)
Issue templatesPR template
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
17 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.5
Imports (11)
RcppRcppParallelRdpackS7methodslifecyclegraphicsgrDevicesparallelstatsutils
Enhances (0)
none
Reverse dependencies
1direct
0indirect

Code & Tests

Datasets

People & History

People (6)
Maintainer (1)
Author, Maintainer
Authors (2)
Author, Maintainer
Contributors (4)
Contributor · added in 0.1.6.0
Contributor · added in 0.1.6.3
Contributor · added in 0.1.6.3
Contributor
Listed in earlier versions (1)
no longer listed · 0.1.2 to 0.1.6.2
Package Timeline

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

  • 0.2.0.0Latest
    2026-08-04 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 0.1.6.3
    2026-02-14 · diff ↗
  • 0.1.6.2
    2026-01-20 · diff ↗
  • 0.1.6.1
    2025-10-04 · diff ↗
  • 0.1.6.0
    2025-09-27 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 0.1.4.2
    2024-12-05 · diff ↗
  • 0.1.4.1
    2024-11-12 · diff ↗
  • 0.1.4
    2024-10-21 · diff ↗
  • 0.1.3.1
    2024-05-15 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 0.1.3
    2024-02-25 · diff ↗
  • 0.1.2
    2023-10-13 · diff ↗
  • 0.1.1
    2023-09-01 · diff ↗
  • 0.1.0
    2023-04-21
Show 2 earlier events
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22

Package metadata

First published
2023-04-21
Total releases
13 / 3 yrs
License
GPL (>= 2) OSI
Minimum R
≥ 3.5
Bundled data
7.3 KB / 3 files
Download size
1.7 MB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("bgms")
Marsman, M., Arena, G., Geller, G., Groot, L., Sekulovski, N., & van den Bergh, D. (2026). bgms: Bayesian Analysis of Graphical Models (Version 0.2.0.0) [Computer software]. https://doi.org/10.32614/CRAN.package.bgms

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

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

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