Subject: [PATCH 06/14] gnu: Add r-vcdextra.

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

From: Kyle Andrews <[email-masked]>

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

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 516c335822..2cd4b8d2a6 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -33358,6 +33358,33 @@ (define-public r-unglue
 more intuitive and compact way than by using standard regular expressions.")
    (license license:gpl3)))
 
+(define-public r-vcdextra
+  (package
+   (name "r-vcdextra")
+   (version "0.8-0")
+   (source
+    (origin
+     (method url-fetch)
+     (uri (cran-uri "vcdExtra" version))
+     (sha256
+      (base32 "1wv1ypjdvw639jlphwfpqgpjkk4ki98l2lfbpncsbpy9jpknjsmk"))))
+   (properties `((upstream-name . "vcdExtra")))
+   (build-system r-build-system)
+   (propagated-inputs (list r-ca r-gnm r-mass r-vcd))
+   (native-inputs (list r-knitr))
+   (home-page "https://friendly.github.io/vcdExtra/")
+   (synopsis "'vcd' Extensions and Additions")
+   (description
+    "This package provides additional data sets, methods and documentation to
+complement the 'vcd' package for Visualizing Categorical Data and the 'gnm'
+package for Generalized Nonlinear Models.  In particular, 'vcdExtra' extends
+mosaic, assoc and sieve plots from 'vcd' to handle 'glm()' and 'gnm()' models
+and adds a 3D version in 'mosaic3d'.  Additionally, methods are provided for
+comparing and visualizing lists of 'glm' and 'loglm' objects.  This package is
+now a support package for the book, \"Discrete Data Analysis with R\" by Michael
+Friendly and David Meyer.")
+   (license license:gpl2+)))
+
 (define r-gpg
   (package
    (name "r-gpg")
-- 
2.36.0