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

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

* gnu/packages/cran.scm (r-irtoys): 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 7e466e3fdf..f83ac22d50 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -20233,3 +20233,35 @@ 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)))
+
+(define-public r-irtoys
+  (package
+    (name "r-irtoys")
+    (version "0.2.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (cran-uri "irtoys" version))
+        (sha256
+          (base32
+            "0h6iiaxikhbxhbyksbjnb09qdxinlkwr2v9yzs5wslbni14paq5q"))))
+    (properties `((upstream-name . "irtoys")))
+    (build-system r-build-system)
+    (propagated-inputs
+      `(("r-ltm" ,r-ltm) ("r-sm" ,r-sm)))
+    (home-page
+      "https://cran.r-project.org/package=irtoys")
+    (synopsis
+      "Collection of Functions Related to Item Response Theory (IRT)")
+    (description
+      "This package provides a collection of functions useful in learning and
+practicing IRT, which can be combined into larger programs.  Provides basic CTT
+analysis, a simple common interface to the estimation of item parameters in IRT
+models for binary responses with three different programs (ICL, BILOG-MG, and
+ltm), ability estimation (MLE, BME, EAP, WLE, plausible values), item and
+person fit statistics, scaling methods (MM, MS, Stocking-Lord, and the complete
+Hebaera method), and a rich array of parametric and non-parametric (kernel)
+plots.  Estimates and plots Haberman's interaction model when all items are
+dichotomously scored.")
+    (license license:gpl2+)))
+
-- 
2.20.1