From patchwork Wed Jul 6 15:31:17 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ricardo Wurmus X-Patchwork-Id: 13674 Received: (qmail 125952 invoked by uid 89); 6 Jul 2016 15:44:42 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Checked: by ClamAV 0.99.1 on sourceware.org X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.1 required=5.0 tests=AWL, BAYES_00, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 spammy=environmental, estimation, tapers X-Spam-Status: No, score=-3.1 required=5.0 tests=AWL, BAYES_00, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on sourceware.org X-Spam-Level: X-HELO: lists.gnu.org Received: from lists.gnu.org (HELO lists.gnu.org) (208.118.235.17) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Wed, 06 Jul 2016 15:44:32 +0000 Received: from localhost ([::1]:34342 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bKp01-0004gd-V3 for patchwork@sourceware.org; Wed, 06 Jul 2016 11:44:29 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34313) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bKonu-000704-CN for guix-devel@gnu.org; Wed, 06 Jul 2016 11:32:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bKonp-0003Pp-Q5 for guix-devel@gnu.org; Wed, 06 Jul 2016 11:31:57 -0400 Received: from venus.bbbm.mdc-berlin.de ([141.80.25.30]:49079) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bKonp-0003Pl-JC for guix-devel@gnu.org; Wed, 06 Jul 2016 11:31:53 -0400 Received: from localhost (localhost [127.0.0.1]) by venus.bbbm.mdc-berlin.de (Postfix) with ESMTP id 1AEB2380B95 for ; Wed, 6 Jul 2016 17:31:53 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mdc-berlin.de; h= content-type:content-type:mime-version:references:in-reply-to :x-mailer:message-id:date:date:subject:subject:from:from :received:received:received; s=mdc; t=1467819107; x=1469633508; bh=a7LpRoUpuiqoeOQSpfBiJXYsp2vW+Lh5r3OVfqZ8CWE=; b=brs/2pXmQ5a1 P9zOqh+NpgKL7WM9sCWBMUrUKLTdxHDcP8xyo6cXhGldP7N7mUvs32qqnZrG9WDm 5phRqLBcGgM3mH0bc0/UuZxdDuIMkf7p1YhJEIXVFkwXiETv/UHSNsSYlTVPGOuF Fkz3cCRVKT4wze9+tb1AaWq++pjpWxY= X-Virus-Scanned: amavisd-new at mdc-berlin.de Received: from venus.bbbm.mdc-berlin.de ([127.0.0.1]) by localhost (venus.bbbm.mdc-berlin.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BSR5pHi8hvXs for ; Wed, 6 Jul 2016 17:31:47 +0200 (CEST) Received: from HTCATWO.mdc-berlin.net (puck.citx.mdc-berlin.de [141.80.36.101]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by venus.bbbm.mdc-berlin.de (Postfix) with ESMTPS for ; Wed, 6 Jul 2016 17:31:47 +0200 (CEST) Received: from localhost (141.80.180.135) by HTCATWO.mdc-berlin.net (141.80.180.125) with Microsoft SMTP Server (TLS) id 14.3.294.0; Wed, 6 Jul 2016 17:31:42 +0200 From: Ricardo Wurmus To: Subject: [PATCH 3/4] gnu: Add r-multitaper. Date: Wed, 6 Jul 2016 17:31:17 +0200 Message-ID: <20160706153118.3216-3-ricardo.wurmus@mdc-berlin.de> X-Mailer: git-send-email 2.8.4 In-Reply-To: <20160706153118.3216-1-ricardo.wurmus@mdc-berlin.de> References: <20160706153118.3216-1-ricardo.wurmus@mdc-berlin.de> MIME-Version: 1.0 X-Originating-IP: [141.80.180.135] X-TM-AS-Product-Ver: SMEX-11.0.0.4255-8.000.1202-22436.000 X-TM-AS-Result: No--3.532700-0.000000-31 X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 141.80.25.30 X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list 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+patchwork=sourceware.org@gnu.org Sender: "Guix-devel" * gnu/packages/statistics.scm (r-multitaper): New variable. --- gnu/packages/statistics.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index 813000e..6d5ee67 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -1448,6 +1448,32 @@ and environmental data in the framework of Euclidean exploratory methods.") files in R. It is built on top of the libxml2 C library.") (license license:gpl2+))) +(define-public r-multitaper + (package + (name "r-multitaper") + (version "1.0-11") + (source + (origin + (method url-fetch) + (uri (cran-uri "multitaper" version)) + (sha256 + (base32 + "1s0lmjzpyd7zmc2p1ywv5fm7qkq357p70b76gw9wjlms6d81j1n4")))) + (build-system r-build-system) + (native-inputs + `(("gfortran" ,gfortran))) + (home-page "http://github.com/wesleyburr/multitaper/") + (synopsis "Multitaper spectral analysis tools") + (description + "This package implements multitaper spectral estimation +techniques using prolate spheroidal sequences (Slepians) and sine +tapers for time series analysis. It includes an adaptive weighted +multitaper spectral estimate, a coherence estimate, Thomson's Harmonic +F-test, and complex demodulation. The Slepians sequences are +generated efficiently using a tridiagonal matrix solution, and +jackknifed confidence intervals are available for most estimates.") + (license license:gpl2+))) + (define-public r-rversions (package (name "r-rversions")