Subject: [PATCH 33/34] gnu: Add package r-erm

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

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

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index d7da059bee..7e466e3fdf 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -20201,3 +20201,35 @@ and Wang, 1997 <doi:10.1177/0146621697211001>, Adams, Wilson and Wu, 1997
 <doi:10.3102/10769986022001047>, Formann, 1982 <doi:10.1002/bimj.4710240209>,
 Formann, 1992 <doi:10.1080/01621459.1992.10475229>.")
     (license license:gpl2+)))
+
+(define-public r-erm
+  (package
+    (name "r-erm")
+    (version "1.0-0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (cran-uri "eRm" version))
+        (sha256
+          (base32
+            "11p8j61arq1ih2qi33wf0442vcdbp3zvknzm5aknsifwl4mbzzly"))))
+    (properties `((upstream-name . "eRm")))
+    (build-system r-build-system)
+    (propagated-inputs
+      `(("r-lattice" ,r-lattice)
+        ("r-mass" ,r-mass)
+        ("r-matrix" ,r-matrix)))
+    (native-inputs `(("gfortran" ,gfortran)))
+    (home-page
+      "https://cran.r-project.org/package=eRm")
+    (synopsis "Extended Rasch Modeling")
+    (description
+      "Fits Rasch models (RM), linear logistic test models (LLTM), rating scale
+model (RSM), linear rating scale models (LRSM), partial credit models (PCM),
+and linear partial credit models (LPCM).  Missing values are allowed in the
+data matrix.  Additional features are the ML estimation of the person
+parameters, Andersen's LR-test, item-specific Wald test, Martin-Loef-Test,
+nonparametric Monte-Carlo Tests, itemfit and personfit statistics including
+infit and outfit measures, ICC and other plots, automated stepwise item
+elimination, simulation module for various binary data matrices.")
+    (license license:gpl3)))
-- 
2.20.1