From efba686c8056cf1ac65111ebe57e49c5218cb157 Mon Sep 17 00:00:00 2001 From: Raoul Jean Pierre Bonnal Date: Thu, 19 Jan 2017 19:54:57 +0100 Subject: [PATCH] gnu: Add r-mixtools. * gnu/packages/statistics.scm (r-mixtools): New variable. --- gnu/packages/statistics.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) 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+)))