aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2018-10-25 05:16:17 +0200
committerRicardo Wurmus <rekado@elephly.net>2018-10-25 05:17:42 +0200
commit9b3ecb60e2bb5eabaa70d0682e99e735561ce48c (patch)
tree9e57514c095b070bd59f1dba8dd2a4d384f7080f
parentbd531e83d1c4320ed8ce031c9b7d3261268fd793 (diff)
downloadpatches-9b3ecb60e2bb5eabaa70d0682e99e735561ce48c.tar
patches-9b3ecb60e2bb5eabaa70d0682e99e735561ce48c.tar.gz
gnu: Add r-bayesplot.
* gnu/packages/cran.scm (r-bayesplot): New variable.
-rw-r--r--gnu/packages/cran.scm32
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 69ba63d082..a75c19a1f1 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -36,6 +36,7 @@
#:use-module (gnu packages gcc)
#:use-module (gnu packages gnome)
#:use-module (gnu packages gtk)
+ #:use-module (gnu packages haskell)
#:use-module (gnu packages machine-learning)
#:use-module (gnu packages maths)
#:use-module (gnu packages mpi)
@@ -6423,3 +6424,34 @@ Cohen (1988).")
independence problem including two-sample, K-sample (non-parametric ANOVA),
correlation, censored, ordered and multivariate problems.")
(license license:gpl2)))
+
+(define-public r-bayesplot
+ (package
+ (name "r-bayesplot")
+ (version "1.6.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "bayesplot" version))
+ (sha256
+ (base32
+ "0in9cq2ybpa7njrwqx4l6nc8i01cjswsvzwlyiw465pi74aapr57"))))
+ (build-system r-build-system)
+ (inputs
+ `(("pandoc" ,ghc-pandoc)
+ ("pandoc-citeproc" ,ghc-pandoc-citeproc)))
+ (propagated-inputs
+ `(("r-dplyr" ,r-dplyr)
+ ("r-ggplot2" ,r-ggplot2)
+ ("r-ggridges" ,r-ggridges)
+ ("r-reshape2" ,r-reshape2)
+ ("r-rlang" ,r-rlang)))
+ (home-page "http://mc-stan.org/bayesplot")
+ (synopsis "Plotting for Bayesian models")
+ (description
+ "This package provides plotting functions for posterior analysis, model
+checking, and MCMC diagnostics. The package is designed not only to provide
+convenient functionality for users, but also a common set of functions that
+can be easily used by developers working on a variety of R packages for
+Bayesian modeling.")
+ (license license:gpl3+)))