From mboxrd@z Thu Jan 1 00:00:00 1970 From: Raoul Bonnal Subject: [PATCH 06/35] gnu: Add r-diptest. Date: Thu, 19 Jan 2017 19:55:01 +0100 Message-ID: <20170119185530.35824-6-ilpuccio.febo@gmail.com> References: <20170119185530.35824-1-ilpuccio.febo@gmail.com> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35167) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cUHsH-0005cm-Ao for guix-devel@gnu.org; Thu, 19 Jan 2017 13:55:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cUHsG-0004Km-J3 for guix-devel@gnu.org; Thu, 19 Jan 2017 13:55:53 -0500 Received: from mail-wm0-x242.google.com ([2a00:1450:400c:c09::242]:33156) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cUHsG-0004KY-CI for guix-devel@gnu.org; Thu, 19 Jan 2017 13:55:52 -0500 Received: by mail-wm0-x242.google.com with SMTP id r144so1082737wme.0 for ; Thu, 19 Jan 2017 10:55:52 -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-diptest): New variable. --- gnu/packages/statistics.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index 8051e57..99c2b12 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -4161,3 +4161,23 @@ Independent Component Analysis ICA and projection pursuit.") "This package provides a pure R implementation of the t-SNE algorithm.") (license (list license:gpl2+ license:gpl3+)))) + +(define-public r-diptest + (package + (name "r-diptest") + (version "0.75-7") + (source + (origin + (method url-fetch) + (uri (cran-uri "diptest" version)) + (sha256 + (base32 + "06xnc5gv1284ll0addxnxb6ljz6fn8dbyrp5vchyz6551h800aa6")))) + (build-system r-build-system) + (home-page "http://cran.r-project.org/web/packages/diptest") + (synopsis "Hartigan's dip test statistic for unimodality - corrected") + (description + "This package computes Hartigan's dip test statistic for unimodality, + multimodality and provides a test with simulation based p-values, where +the original public code has been corrected.") + (license license:gpl2+))) -- 1.9.1