benwoodcroft pushed a commit to branch master
in repository guix.
commit 5a200a24ebdcc8c3e8459344d209495af9eac186
Author: Raoul Jean Pierre Bonnal <[email protected]>
Date: Sat Mar 11 21:45:53 2017 +1000
gnu: Add r-sn.
* gnu/packages/statistics.scm (r-sn): New variable.
Co-authored-by: Ben Woodcroft <[email protected]>
---
gnu/packages/statistics.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index b4d069f..be201e2 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -4747,3 +4747,28 @@ are computed via non-Monte Carlo methods.")
"This package provides methods for calculating accurate numerical
first and second order derivatives.")
(license license:gpl2)))
+
+(define-public r-sn
+ (package
+ (name "r-sn")
+ (version "1.5-0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "sn" version))
+ (sha256
+ (base32
+ "0fh7xjsfd2x8d9lbnss7raldh24b72b3pvcv7zqa1qprzg7zfr01"))))
+ (build-system r-build-system)
+ (propagated-inputs
+ `(("r-mnormt" ,r-mnormt)
+ ("r-numderiv" ,r-numderiv)))
+ (home-page "http://azzalini.stat.unipd.it/SN")
+ (synopsis "The skew-normal and skew-t distributions")
+ (description
+ "This packages provides functionalities to build and manipulate
+probability distributions of the skew-normal family and some related
+ones, notably the skew-t family, and provides related statistical
+methods for data fitting and diagnostics, in the univariate and the
+multivariate case.")
+ (license license:gpl2+)))