rekado pushed a commit to branch master
in repository guix.
commit 02cdb45f345da30a04c384b6763e9f9dc6503801
Author: Ricardo Wurmus <[email protected]>
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
+@code{sd}. 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")