aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaoul Jean Pierre Bonnal <ilpuccio.febo@gmail.com>2017-01-19 19:54:57 +0100
committerRicardo Wurmus <rekado@elephly.net>2017-01-20 15:38:03 +0100
commitefba686c8056cf1ac65111ebe57e49c5218cb157 (patch)
treefd3e05700c2e3093aab8d63c332ff8953a41b781
parentc6017f72220ec1dfbdf0b2724f9f8cb7061a31fa (diff)
downloadpatches-efba686c8056cf1ac65111ebe57e49c5218cb157.tar
patches-efba686c8056cf1ac65111ebe57e49c5218cb157.tar.gz
gnu: Add r-mixtools.
* gnu/packages/statistics.scm (r-mixtools): New variable.
-rw-r--r--gnu/packages/statistics.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 04c01596eb..33145d35bc 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -4076,3 +4076,24 @@ Farebrother's algorithm or Liu et al.'s algorithm.")
ggplot2 package to combine multiple ggplot2 plots into one and label them with
letters, as is often required for scientific publications.")
(license license:gpl2)))
+
+(define-public r-mixtools
+ (package
+ (name "r-mixtools")
+ (version "1.0.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "mixtools" version))
+ (sha256
+ (base32
+ "133rr17ywmlhsc6457hs8qxi8ng443ql9ashxpwc8875gjhv1x32"))))
+ (build-system r-build-system)
+ (propagated-inputs
+ `(("r-segmented" ,r-segmented)))
+ (home-page "http://cran.r-project.org/web/packages/mixtools")
+ (synopsis "Tools for analyzing finite mixture models")
+ (description
+ "This package provides a collection of R functions for analyzing finite
+mixture models.")
+ (license license:gpl2+)))