From mboxrd@z Thu Jan 1 00:00:00 1970 From: Raoul Bonnal Subject: [PATCH 08/35] gnu: Add r-flexmix. Date: Thu, 19 Jan 2017 19:55:03 +0100 Message-ID: <20170119185530.35824-8-ilpuccio.febo@gmail.com> References: <20170119185530.35824-1-ilpuccio.febo@gmail.com> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35249) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cUHsM-0005hm-0X for guix-devel@gnu.org; Thu, 19 Jan 2017 13:55:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cUHsJ-0004Nd-Iq for guix-devel@gnu.org; Thu, 19 Jan 2017 13:55:58 -0500 Received: from mail-wm0-x241.google.com ([2a00:1450:400c:c09::241]:36675) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cUHsJ-0004MJ-Ce for guix-devel@gnu.org; Thu, 19 Jan 2017 13:55:55 -0500 Received: by mail-wm0-x241.google.com with SMTP id r126so1044508wmr.3 for ; Thu, 19 Jan 2017 10:55:55 -0800 (PST) In-Reply-To: <20170119185530.35824-1-ilpuccio.febo@gmail.com> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org From: Raoul Jean Pierre Bonnal * gnu/packages/statistics.scm (r-flexmix): New variable. --- gnu/packages/statistics.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index 3f3f4a7..22b5b24 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -4201,3 +4201,27 @@ the original public code has been corrected.") models. The functionality is experimental and the user interface is likely to change in the future.") (license license:gpl2))) + +(define-public r-flexmix + (package + (name "r-flexmix") + (version "2.3-13") + (source + (origin + (method url-fetch) + (uri (cran-uri "flexmix" version)) + (sha256 + (base32 + "1i205yw3kkxs27gqcs6zx0c2mh16p332a2p06wq6fdzb20bazg3z")))) + (build-system r-build-system) + (propagated-inputs + `(("r-modeltools" ,r-modeltools))) + (home-page "http://cran.r-project.org/web/packages/flexmix") + (synopsis "Flexible mixture modeling") + (description + "This package implements a general framework for finite mixtures of +regression models using the EM algorithm. FlexMix provides the E-step and +all data handling, while the M-step can be supplied by the user to easily +define new models. Existing drivers implement mixtures of standard linear +models, generalized linear models and model-based clustering.") + (license license:gpl2+))) -- 1.9.1