Subject: [PATCH 09/14] gnu: Add r-gnm.

From: kyle <[email-masked]>
Date: Thu, 12 May 2022 02:10:29 +0000

From: Kyle Andrews <[email-masked]>

---
 gnu/packages/cran.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index b86ab6127d..0114be8b0f 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -33405,6 +33405,27 @@ (define-public r-ca
     "Computation and visualization of simple, multiple and joint correspondence analysis.")
    (license (list license:gpl2+ license:gpl3+))))
 
+(define-public r-gnm
+  (package
+   (name "r-gnm")
+   (version "1.1-1")
+   (source
+    (origin
+     (method url-fetch)
+     (uri (cran-uri "gnm" version))
+     (sha256
+      (base32
+       "1lddsdsg43wpg681s906i4xqqfbjdd1qb9ml5dfprb02i1806aa2"))))
+   (properties `((upstream-name . "gnm")))
+   (build-system r-build-system)
+   (propagated-inputs
+    (list r-mass r-matrix r-nnet r-qvcalc r-relimp))
+   (home-page "https://github.com/hturner/gnm")
+   (synopsis "Generalized Nonlinear Models")
+   (description
+    "This package provides functions to specify and fit generalized nonlinear models, including models with multiplicative interaction terms such as the UNIDIFF model from sociology and the AMMI model from crop science, and many others.  Over-parameterized representations of models are used throughout; functions are provided for inference on estimable parameter combinations, as well as standard methods for diagnostics etc.")
+   (license (list license:gpl2+ license:gpl3+))))
+
 (define-public r-qvcalc
   (package
    (name "r-qvcalc")
-- 
2.36.0