[bug#55379,06/14] gnu: Add r-vcdextra.

Message ID 74710027f542c8fbcececf8a3a3aad16fdd3a5a9.1651893551.git.kyle@posteo.net
State New
Headers
Series [bug#55379,01/14] gnu: Add r-gpg. |

Commit Message

kyle May 12, 2022, 2:10 a.m. UTC
From: Kyle Andrews <kyle@posteo.net>

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

Patch

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")