From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id MFk/AG+ImV9wZAAA0tVLHw (envelope-from ) for ; Wed, 28 Oct 2020 15:04:15 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id YLUhN26ImV9ifwAAbx9fmQ (envelope-from ) for ; Wed, 28 Oct 2020 15:04:14 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 546B8940222 for ; Wed, 28 Oct 2020 15:04:14 +0000 (UTC) Received: from localhost ([::1]:54560 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kXmzk-0003C4-Gc for larch@yhetil.org; Wed, 28 Oct 2020 11:04:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40918) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kXmza-00039y-FP for guix-patches@gnu.org; Wed, 28 Oct 2020 11:04:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:38553) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kXmza-0004MR-5T for guix-patches@gnu.org; Wed, 28 Oct 2020 11:04:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kXmza-00023r-23 for guix-patches@gnu.org; Wed, 28 Oct 2020 11:04:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44277] [PATCH v2 1/3] gnu: Add r-decon. Resent-From: Aniket Patil Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 28 Oct 2020 15:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 44277 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 44277@debbugs.gnu.org Cc: 44033@debbugs.gnu.org, aniket112.patil@gmail.com X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16038974247853 (code B ref -1); Wed, 28 Oct 2020 15:04:01 +0000 Received: (at submit) by debbugs.gnu.org; 28 Oct 2020 15:03:44 +0000 Received: from localhost ([127.0.0.1]:50087 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kXmzG-00022Z-Ri for submit@debbugs.gnu.org; Wed, 28 Oct 2020 11:03:44 -0400 Received: from lists.gnu.org ([209.51.188.17]:34954) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kXgHL-0000ed-4D for submit@debbugs.gnu.org; Wed, 28 Oct 2020 03:53:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59704) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kXgHK-0000nw-Rt for guix-patches@gnu.org; Wed, 28 Oct 2020 03:53:54 -0400 Received: from mail-pj1-x1034.google.com ([2607:f8b0:4864:20::1034]:54095) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kXgHJ-0001DB-1Q for guix-patches@gnu.org; Wed, 28 Oct 2020 03:53:54 -0400 Received: by mail-pj1-x1034.google.com with SMTP id m17so1199985pjz.3 for ; Wed, 28 Oct 2020 00:53:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=vqduWsn1kKRKCl5Vy05ZGMyay47ktP6uUm+uWoqN0r0=; b=nRqeyOO1wK7dtV0x0hGgRvxyQfWTBjxrOc2242e+STHYAropYrSICol6nwGwSJXqu8 RXPtP3KGlOLRf3MF6eRxH6SDNBddv4PExXi2e9BFWN/2H0dE8cGPRpaJksvooPZryYHP 2PUhGOHhW1SSHCpMdTiU5xf8V77aotRlwafzNcWD7o9AB1vNeDetrpgsxooXtPX+U23R 3STpD5zdduJfZ5VlJG6DdZ5aecH29H/YhL7eSRdS5FQ+y69dN9S/OVPf4EvUtU/KRh7w 1jUIIxo+reUa1Rku5RJ1Y6+hgvfPu1NapufED/TDPfLXdVda0vMsB2Ca81qeyNfqBH7w vk3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=vqduWsn1kKRKCl5Vy05ZGMyay47ktP6uUm+uWoqN0r0=; b=r/KWt4/wGxPxr+f9x6fvYxc4yNcxtOMzR/rkocwwud9WBvBxqwxtlYTlCfCQGw3e8b wav2Ap2izkqzK0TLZpwmp/p7TSV6jBWf23HJYZeNqCrvwlkGsSiKLFD5ewIxmlh5+lNA EcvRsPvlln9Ww35bY64jom1i3F/LN4G4MP8kvn1AwwWteXT7+MdQB7Q9Zaqns59h7T81 XuV02mihhSY/+AKPn7pvLhv/3/ZkHtaThLr13IRPyDrUrVgElF4JlErv+Pfdc4izHrbb ibUuk9o8Jv4H6k8yqWBJ/4Leuy7DkhM8Lb2+ELyhnMSJD0/bJxUjJv8oYYlhLSHi6cFq ygxg== X-Gm-Message-State: AOAM531df2WERnQJTQyjRdTgWuMgIhGLL5OVmdvEgLI1YS4Prqe5JHXC tg018vaL28xuHVFguSd8RIpx8aRCa9K74FRu X-Google-Smtp-Source: ABdhPJyw6OowY9UmA2CxEk9tUY2brKedXRZL3RbSF9yiHX360qWRvJTXV7aqIK+6/72oFxiMgq0XpQ== X-Received: by 2002:a17:90b:1186:: with SMTP id gk6mr5731390pjb.109.1603871630872; Wed, 28 Oct 2020 00:53:50 -0700 (PDT) Received: from localhost.localdomain ([59.153.2.10]) by smtp.gmail.com with ESMTPSA id ei4sm4233996pjb.4.2020.10.28.00.53.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Oct 2020 00:53:50 -0700 (PDT) From: Aniket Patil Date: Wed, 28 Oct 2020 13:21:37 +0530 Message-Id: <20201028075139.157032-1-aniket112.patil@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::1034; envelope-from=aniket112.patil@gmail.com; helo=mail-pj1-x1034.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Mailman-Approved-At: Wed, 28 Oct 2020 11:03:41 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -2.3 (--) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=gmail.com header.s=20161025 header.b=nRqeyOO1; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: 4.09 X-TUID: sqQKVZ2rJKrv * gnu/packages/cran.scm (r-decon): New variable. --- gnu/packages/cran.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index fea560f7a1..ce2d860135 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -24628,3 +24628,39 @@ orthogonal coordinate systems: cartesian, polar, spherical, cylindrical, parabolic or user defined by custom scale factors.") (license license:gpl3))) +(define-public r-decon + (package + (name "r-decon") + (version "1.2-4") + (source + (origin + (method url-fetch) + (uri (cran-uri "decon" version)) + (sha256 + (base32 + "1v4l0xq29rm8mks354g40g9jxn0didzlxg3g7z08m0gvj29zdj7s")))) + (properties `((upstream-name . "decon"))) + (build-system r-build-system) + (native-inputs + `(("gfortran" ,gfortran))) + (home-page + "https://cran.r-project.org/web/packages/decon") + (synopsis "Deconvolution Estimation in Measurement Error Models") + (description + "This package contains a collection of functions to deal with +nonparametric measurement error problems using deconvolution +kernel methods. We focus two measurement error models in the +package: (1) an additive measurement error model, where the +goal is to estimate the density or distribution function from +contaminated data; (2) nonparametric regression model with +errors-in-variables. The R functions allow the measurement errors +to be either homoscedastic or heteroscedastic. To make the +deconvolution estimators computationally more efficient in R, +we adapt the \"Fast Fourier Transform\" (FFT) algorithm for +density estimation with error-free data to the deconvolution +kernel estimation. Several methods for the selection of the +data-driven smoothing parameter are also provided in the package. +See details in: Wang, X.F. and Wang, B. (2011). Deconvolution +estimation in measurement error models: The R package decon. +Journal of Statistical Software, 39(10), 1-24.") + (license license:gpl3+))) -- 2.28.0