Subject: [bug#39416] [PATCH 26/34] gnu: Add package r-bdgraph

From: Lars-Dominik Braun <[email-masked]>
Date: Tue, 4 Feb 2020 14:56:18 +0100

* gnu/packages/cran.scm (r-bdgraph): New variable.
---
 gnu/packages/cran.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 1d6a26c6fa..7b9545ca30 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -19972,3 +19972,29 @@ Jayhawk, Go K.U.\".")
 output in R.  This package or its maintainer is not in any way affiliated with
 the creators of LISREL and SSI, Inc.")
     (license license:gpl2)))
+
+(define-public r-bdgraph
+  (package
+    (name "r-bdgraph")
+    (version "2.62")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (cran-uri "BDgraph" version))
+        (sha256
+          (base32
+            "1b1vfar940swvn3pcil848qsp8ji50fjjll8jjzp6y2adx0f8pby"))))
+    (properties `((upstream-name . "BDgraph")))
+    (build-system r-build-system)
+    (propagated-inputs `(("r-igraph" ,r-igraph)))
+    (home-page
+      "https://www.uva.nl/profile/a.mohammadi")
+    (synopsis
+      "Bayesian Structure Learning in Graphical Models using Birth-Death MCMC")
+    (description
+      "Statistical tools for Bayesian structure learning in undirected
+graphical models for continuous, discrete, and mixed data.  The package is
+implemented the recent improvements in the Bayesian graphical models
+literature, including Mohammadi and Wit (2015) <doi:10.1214/14-BA889>,
+Mohammadi and Wit (2019) <doi:10.18637/jss.v089.i03>.")
+    (license license:gpl2+)))
-- 
2.20.1