aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2023-10-25 13:32:31 +0200
committerRicardo Wurmus <rekado@elephly.net>2023-10-25 13:33:12 +0200
commitaabfddbe8bc16fa82067e88e7d79c8c1bc802414 (patch)
treeaafc2e0be401ac558042b3c4034421056a5108b9 /gnu
parentc6d2bb9d0a1e7e74af3984b7dad1ffacff20768c (diff)
downloadguix-aabfddbe8bc16fa82067e88e7d79c8c1bc802414.tar.gz
guix-aabfddbe8bc16fa82067e88e7d79c8c1bc802414.zip
gnu: Add r-ggdist.
* gnu/packages/cran.scm (r-ggdist): New variable. Change-Id: Ia9f57e1efcbb9df08a79d9e51bc438fa64fe61e2
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/cran.scm37
1 files changed, 37 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index de31f44dbd..107f154b65 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -777,6 +777,43 @@ dumbbell charts, the ability to encircle points and coordinate-system-based
text annotations.")
(license license:agpl3)))
+(define-public r-ggdist
+ (package
+ (name "r-ggdist")
+ (version "3.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "ggdist" version))
+ (sha256
+ (base32 "0b15b972wrllsvqqn0nc2c81fd9jl618fvqsfi50hjxwwpdach8l"))))
+ (properties `((upstream-name . "ggdist")))
+ (build-system r-build-system)
+ (propagated-inputs (list r-cli
+ r-distributional
+ r-dplyr
+ r-ggplot2
+ r-glue
+ r-numderiv
+ r-quadprog
+ r-rlang
+ r-scales
+ r-tibble
+ r-tidyselect
+ r-vctrs
+ r-withr))
+ (native-inputs (list r-knitr))
+ (home-page "https://mjskay.github.io/ggdist/")
+ (synopsis "Visualizations of distributions and uncertainty")
+ (description
+ "This package provides primitives for visualizing distributions using
+ggplot2 that are particularly tuned for visualizing uncertainty in either a
+frequentist or Bayesian mode. Both analytical distributions (such as
+frequentist confidence distributions or Bayesian priors) and distributions
+represented as samples (such as bootstrap distributions or Bayesian posterior
+samples) are easily visualized.")
+ (license license:gpl3+)))
+
(define-public r-ggfittext
(package
(name "r-ggfittext")