summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2021-07-20 10:43:40 +0200
committerLars-Dominik Braun <lars@6xq.net>2021-07-21 13:36:07 +0200
commitf711ba28d2c9c1a9652cb4437b26a0550b74b757 (patch)
tree7db18f6d6b70752fa67cdd650316d4fadeead964 /gnu/packages
parentf6802a924711858d82939dde39caceacf57c96ad (diff)
downloadguix-f711ba28d2c9c1a9652cb4437b26a0550b74b757.tar.gz
gnu: Add r-naniar.
* gnu/packages/statistics.scm (r-naniar): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/statistics.scm38
1 files changed, 38 insertions, 0 deletions
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index c2a01d5c30..757c67bcf5 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -6244,3 +6244,41 @@ designs, one-way designs, general ANOVA designs, and linear regression.")
 normal model.")
     ;; Custom license, see https://cran.r-project.org/web/packages/norm/LICENSE.
     (license (license:non-copyleft "file://LICENSE"))))
+
+(define-public r-naniar
+  (package
+    (name "r-naniar")
+    (version "0.6.1")
+    (source (origin
+              (method url-fetch)
+              (uri (cran-uri "naniar" version))
+              (sha256
+               (base32
+                "0l3l2x85v3srilww483kpgp4zlwixyml257b0cqly8kcpwawlinm"))))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-dplyr" ,r-dplyr)
+       ("r-norm" ,r-norm)
+       ("r-forcats" ,r-forcats)
+       ("r-ggplot2" ,r-ggplot2)
+       ("r-glue" ,r-glue)
+       ("r-magrittr" ,r-magrittr)
+       ("r-purrr" ,r-purrr)
+       ("r-rlang" ,r-rlang)
+       ("r-tibble" ,r-tibble)
+       ("r-tidyr" ,r-tidyr)
+       ("r-upsetr" ,r-upsetr)
+       ("r-viridis" ,r-viridis)
+       ("r-visdat" ,r-visdat)))
+    (native-inputs
+     `(("r-knitr" ,r-knitr)))
+    (home-page "https://github.com/njtierney/naniar")
+    (synopsis
+     "Data structures, summaries, and visualisations for missing data")
+    (description
+     "Missing values are ubiquitous in data and need to be explored and
+handled in the initial stages of analysis.  The package provides data structures
+and functions that facilitate the plotting of missing values and examination of
+imputations.  This allows missing data dependencies to be explored with minimal
+deviation from the common work patterns of @code{ggplot2} and tidy data.")
+    (license license:expat)))