From f711ba28d2c9c1a9652cb4437b26a0550b74b757 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Tue, 20 Jul 2021 10:43:40 +0200 Subject: gnu: Add r-naniar. * gnu/packages/statistics.scm (r-naniar): New variable. --- gnu/packages/statistics.scm | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) (limited to 'gnu/packages/statistics.scm') 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))) -- cgit v1.2.3