guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

25/30: gnu: Add r-truncnorm.


From: Ricardo Wurmus
Subject: 25/30: gnu: Add r-truncnorm.
Date: Tue, 19 Dec 2017 14:36:07 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit 02cdb45f345da30a04c384b6763e9f9dc6503801
Author: Ricardo Wurmus <address@hidden>
Date:   Tue Dec 19 20:12:46 2017 +0100

    gnu: Add r-truncnorm.
    
    * gnu/packages/cran.scm (r-truncnorm): New variable.
---
 gnu/packages/cran.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index a52a4e9..eafc489 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -1444,6 +1444,26 @@ imputations.")
     ;; Any of these two versions.
     (license (list license:gpl2 license:gpl3))))
 
+(define-public r-truncnorm
+  (package
+    (name "r-truncnorm")
+    (version "1.0-7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "truncnorm" version))
+       (sha256
+        (base32
+         "1qac05z50618y4bw1d7yznsli1bv82s0g8h37iacrjrdkv87bmy7"))))
+    (build-system r-build-system)
+    (home-page "http://cran.r-project.org/web/packages/truncnorm/";)
+    (synopsis "Truncated normal distribution")
+    (description "This package provides functions for the truncated normal
+distribution with mean equal to @code{mean} and standard deviation equal to
address@hidden  It includes density, distribution, quantile, and expected value
+functions, as well as a random generation function.")
+    (license license:gpl2)))
+
 (define-public r-hardyweinberg
   (package
     (name "r-hardyweinberg")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]