Subject: [bug#39416] [PATCH 15/34] gnu: Add package r-mi

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

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

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 73dc753945..b26b63afcb 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -19660,3 +19660,25 @@ the Two-Parameter Logistic, the Birnbaum's Three-Parameter, the Graded
 Response, and the Generalized Partial Credit Models.")
     (license license:gpl2+)))
 
+(define-public r-mi
+  (package
+    (name "r-mi")
+    (version "1.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (cran-uri "mi" version))
+        (sha256
+          (base32
+            "1h47k5mpbvhid83277dvvj2di493bgzz9iarpyv3r30y219l7x1l"))))
+    (properties `((upstream-name . "mi")))
+    (build-system r-build-system)
+    (propagated-inputs
+      `(("r-arm" ,r-arm) ("r-matrix" ,r-matrix)))
+    (home-page
+      "http://www.stat.columbia.edu/~gelman/")
+    (synopsis
+      "Missing Data Imputation and Model Checking")
+    (description
+      "The mi package provides functions for data manipulation, imputing missing values in an approximate Bayesian framework, diagnostics of the models used to generate the imputations, confidence-building mechanisms to validate some of the assumptions of the imputation algorithm, and functions to analyze multiply imputed data sets with the appropriate degree of sampling uncertainty.")
+    (license license:gpl2+)))
-- 
2.20.1