summary refs log tree commit diff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2019-12-17 14:55:29 +0100
committerRicardo Wurmus <rekado@elephly.net>2019-12-17 14:58:32 +0100
commit3b21f5814c14604d8e940415e27b8d4aa25baf93 (patch)
tree5c3dba36c974536f36ba2e7d95369da12bdb7073
parent5ba865a73fbb1a23b2b82b3015a4171b3d9fe3c4 (diff)
downloadguix-3b21f5814c14604d8e940415e27b8d4aa25baf93.tar.gz
gnu: Add r-tab.
* gnu/packages/cran.scm (r-tab): New variable.
-rw-r--r--gnu/packages/cran.scm31
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 2101cd51c6..68b9c50d2f 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -7872,6 +7872,37 @@ analysis.")
      "This package provides a solver for generalized estimation equations.")
     (license license:gpl2)))
 
+(define-public r-tab
+  (package
+    (name "r-tab")
+    (version "4.1.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "tab" version))
+       (sha256
+        (base32
+         "0ds8n6gncidb66in7hlqkcmil5yfsf7ihqvmls789hrm2iz9xlfm"))))
+    (properties `((upstream-name . "tab")))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-dplyr" ,r-dplyr)
+       ("r-gee" ,r-gee)
+       ("r-knitr" ,r-knitr)
+       ("r-mass" ,r-mass)
+       ("r-survey" ,r-survey)
+       ("r-survival" ,r-survival)
+       ("r-xtable" ,r-xtable)))
+    (home-page "https://cran.r-project.org/web/packages/tab/")
+    (synopsis "Create summary tables for statistical reports")
+    (description
+     "This package contains functions for creating various types of summary
+tables, e.g. comparing characteristics across levels of a categorical variable
+and summarizing fitted generalized linear models, generalized estimating
+equations, and Cox proportional hazards models.  Functions are available to
+handle data from simple random samples as well as complex surveys.")
+    (license license:gpl3+)))
+
 (define-public r-dvmisc
   (package
     (name "r-dvmisc")