[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/58: gnu: Add r-posterior.
From: |
guix-commits |
Subject: |
04/58: gnu: Add r-posterior. |
Date: |
Mon, 23 Aug 2021 05:52:05 -0400 (EDT) |
rekado pushed a commit to branch wip-r
in repository guix.
commit ddbbec492f0aeca1d106f3ff3ddb0558b14200cc
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Sun Aug 22 17:51:02 2021 +0200
gnu: Add r-posterior.
* gnu/packages/cran.scm (r-posterior): New variable.
---
gnu/packages/cran.scm | 46 ++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 46 insertions(+)
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 271bb99..8c19d3d 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -25273,6 +25273,52 @@ replacements for p/d/q/r functions, other useful
statistics can be computed
including means, variances, intervals, and highest density regions.")
(license license:gpl3)))
+(define-public r-posterior
+ (package
+ (name "r-posterior")
+ (version "1.0.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "posterior" version))
+ (sha256
+ (base32
+ "000k2sih7r89nmw3nwndx5jljcvkyr61b96mdkqrw83rs74lnh6f"))))
+ (properties `((upstream-name . "posterior")))
+ (build-system r-build-system)
+ (propagated-inputs
+ `(("r-abind" ,r-abind)
+ ("r-checkmate" ,r-checkmate)
+ ("r-distributional" ,r-distributional)
+ ("r-pillar" ,r-pillar)
+ ("r-rlang" ,r-rlang)
+ ("r-tensora" ,r-tensora)
+ ("r-tibble" ,r-tibble)
+ ("r-vctrs" ,r-vctrs)))
+ (native-inputs
+ `(("r-knitr" ,r-knitr)))
+ (home-page "https://mc-stan.org/posterior/")
+ (synopsis "Tools for working with posterior distributions")
+ (description
+ "This package provides useful tools for both users and developers of
+packages for fitting Bayesian models or working with output from Bayesian
+models. The primary goals of the package are to:
+
+@enumerate
+@item Efficiently convert between many different useful formats of
+draws (samples) from posterior or prior distributions.
+
+@item Provide consistent methods for operations commonly performed on draws,
+for example, subsetting, binding, or mutating draws.
+
+@item Provide various summaries of draws in convenient formats.
+
+@item Provide lightweight implementations of state of the art posterior
+inference diagnostics.
+@end enumerate
+")
+ (license license:bsd-3)))
+
(define-public r-brms
(package
(name "r-brms")
- branch wip-r updated (42ea557 -> 3bf93f3), guix-commits, 2021/08/23
- 01/58: gnu: Add r-yulab-utils., guix-commits, 2021/08/23
- 03/58: gnu: Add r-distributional., guix-commits, 2021/08/23
- 04/58: gnu: Add r-posterior.,
guix-commits <=
- 02/58: gnu: Add r-ggfun., guix-commits, 2021/08/23
- 05/58: gnu: Add r-tfautograph., guix-commits, 2021/08/23
- 10/58: gnu: r-httpuv: Update to 1.6.2., guix-commits, 2021/08/23
- 11/58: gnu: r-servr: Update to 0.23., guix-commits, 2021/08/23
- 13/58: gnu: r-bbmle: Update to 1.0.24., guix-commits, 2021/08/23
- 21/58: gnu: r-magick: Update to 2.7.3., guix-commits, 2021/08/23
- 07/58: gnu: r-datawizard: Update to 0.2.0., guix-commits, 2021/08/23
- 06/58: gnu: r-cachem: Update to 1.0.6., guix-commits, 2021/08/23
- 08/58: gnu: r-ggpmisc: Update to 0.4.2-1., guix-commits, 2021/08/23
- 20/58: gnu: r-argparse: Update to 2.0.4., guix-commits, 2021/08/23