Software
R Packages
mdgm
Mixture of Directed Graphical Models — Bayesian inference for discrete spatial random fields using mixtures of directed acyclic graphs. The package provides MCMC sampling over DAG structures (spanning trees, acyclic orientations) with optional emission models (Bernoulli, Gaussian, Poisson) for hierarchical observation processes. Built with a C++20 core for efficient graph algorithms and sampling.
Install from GitHub:
# install.packages("pak")
pak::pak("jbcart/mdgm")