Skip to content

baycn

Bayesian Inference for Causal Networks

v2.0.0 · Mar 10, 2026 · GPL-3 | file LICENSE

Description

An approximate Bayesian method for inferring Directed Acyclic Graphs (DAGs) for continuous, discrete, and mixed data. The algorithm can use the graph inferred by another more efficient graph inference method as input; the input graph may contain false edges or undirected edges but can help reduce the search space to a more manageable size. A Metropolis-Hastings-like sampling algorithm is then used to infer the posterior probabilities of edge direction and edge absence. References: Martin, Patchigolla and Fu (2026) <doi:10.48550/arXiv.1909.10678>.

Downloads

CRAN

750

Last 30 days

4265th

2.4K

Last 90 days

8.4K

Last year

Trend: -7% (30d vs prior 30d)

r2u CRAN

15

Last 30 days

67

Last 90 days

262

Last year

Trend: -50% (30d vs prior 30d)

autoCRAN

12

Last 7 days

76

Last 30 days

6

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 6 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Dependency Network

Dependencies Reverse dependencies egg ggplot2 igraph MASS expm baycn

Version History

4 tracked
new 2.0.0 Mar 10, 2026
update 1.2.0 ← 1.1.0 diff Jul 30, 2020
update 1.1.0 ← 1.0.0 diff Mar 9, 2020
new 1.0.0 Sep 30, 2019