benwoodcroft pushed a commit to branch master
in repository guix.
commit fe68c8a9906f05de5f9f37a4dac05d35644dbd8a
Author: Raoul Jean Pierre Bonnal <[email protected]>
Date: Thu Jan 19 19:55:25 2017 +0100
gnu: Add r-mnormt.
* gnu/packages/statistics.scm (r-mnormt): New variable.
Signed-off-by: Ben Woodcroft <[email protected]>
---
gnu/packages/statistics.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index eb52c3b..79f7e56 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -4704,3 +4704,26 @@ classification and regression models.")
computations taking place in C++ code, and support for interrupting those
computations
even in multithreaded code, typically using OpenMP.")
(license license:gpl3+)))
+
+(define-public r-mnormt
+ (package
+ (name "r-mnormt")
+ (version "1.5-5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "mnormt" version))
+ (sha256
+ (base32
+ "1b34xxrnf35khsx82mhvmk96sgfr2flyasaah7qkb2976pwxay7z"))))
+ (build-system r-build-system)
+ (native-inputs
+ `(("gfortran" ,gfortran)))
+ (home-page "http://azzalini.stat.unipd.it/SW/Pkg-mnormt")
+ (synopsis "Multivariate normal and \"t\" distributions")
+ (description
+ "This package provides functions for computing the density and the
+distribution function of multivariate normal and \"t\" random variables, and
+for generating random vectors sampled from these distributions. Probabilities
+are computed via non-Monte Carlo methods.")
+ (license license:gpl2+)))