From patchwork Wed Oct 31 17:25:06 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lakshmi Prasannakumar X-Patchwork-Id: 71 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 427E616774; Wed, 31 Oct 2018 17:57:30 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, HTML_MESSAGE,RCVD_IN_DNSWL_HI,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) by mira.cbaines.net (Postfix) with ESMTPS id CAD0916772 for ; Wed, 31 Oct 2018 17:57:29 +0000 (GMT) Received: from localhost ([::1]:32824 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gHukD-0001k1-6c for patchwork@mira.cbaines.net; Wed, 31 Oct 2018 13:57:29 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47964) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gHujn-0001RP-W8 for guix-patches@gnu.org; Wed, 31 Oct 2018 13:57:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gHujm-00072y-SF for guix-patches@gnu.org; Wed, 31 Oct 2018 13:57:03 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:53182) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gHujm-00072r-NZ for guix-patches@gnu.org; Wed, 31 Oct 2018 13:57:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gHujm-0006hs-Lr for guix-patches@gnu.org; Wed, 31 Oct 2018 13:57:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#33217] Adding r-weights patch file Resent-From: Lakshmi Prasannakumar Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 31 Oct 2018 17:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 33217 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 33217@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.154100858925736 (code B ref -1); Wed, 31 Oct 2018 17:57:02 +0000 Received: (at submit) by debbugs.gnu.org; 31 Oct 2018 17:56:29 +0000 Received: from localhost ([127.0.0.1]:57440 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gHujF-0006h0-6t for submit@debbugs.gnu.org; Wed, 31 Oct 2018 13:56:29 -0400 Received: from eggs.gnu.org ([208.118.235.92]:57385) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gHuFa-00060e-2u for submit@debbugs.gnu.org; Wed, 31 Oct 2018 13:25:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gHuFU-0004Db-3v for submit@debbugs.gnu.org; Wed, 31 Oct 2018 13:25:44 -0400 Received: from lists.gnu.org ([2001:4830:134:3::11]:34638) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gHuFT-0004DR-4T for submit@debbugs.gnu.org; Wed, 31 Oct 2018 13:25:43 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38732) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gHuFS-0003hD-0j for guix-patches@gnu.org; Wed, 31 Oct 2018 13:25:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gHuFO-00047y-9A for guix-patches@gnu.org; Wed, 31 Oct 2018 13:25:40 -0400 Received: from mail-ot1-x336.google.com ([2607:f8b0:4864:20::336]:35228) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gHuFJ-0003zR-8Y for guix-patches@gnu.org; Wed, 31 Oct 2018 13:25:37 -0400 Received: by mail-ot1-x336.google.com with SMTP id 14so15309864oth.2 for ; Wed, 31 Oct 2018 10:25:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to:cc; bh=CsFkrqUKSzHivLF/9z2krMRCNANiLDnAUFLtdDY9a8M=; b=QUzdZklK2Frd2hRjIuUOefHT4aGK9pxlaTANORWqo2XtjsdALdF4l4byFQe7FqpyEB L7xw1frz3AeNvflYifkhV9Xg/YVX4kBzcGc0T8cC/j8eZMSDilRQL8zTHJXEZQHYv2eg sfEQE5Y+MmfPtK1oZqKArkOCkTzf0Upmc+8suWtujqlQXipodYGm56VrIIHFHOTG92us 8vPC4gK9tbT4UEke1KCIU1D0RHg2mDxn8LjFs+8eaha6+G3T6zzfBMdY4USRsFDtk+SL idbKaTMtdkG/CqXKq6sIQWIPa+i4ck1N1pXxwJOOiPoqYGMq/xbACKVLc4PaTnIIxGoR 6Jug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=CsFkrqUKSzHivLF/9z2krMRCNANiLDnAUFLtdDY9a8M=; b=PKDQdysNO/nRasX3JJpbRe2npTflT5vR6PSss9Y1qriq9dZgyZv5MY0U8kAAff7ii3 Y+n3+jNe0EvjUsLRRAdqmYRuDi82/XY0BzGOPkuNMfBm4u1ulsgYu+T/UvSB9sTXmQhW QSD19LehvGwxC3JYz7p53iKcPOFK0sImRAMWTeu/FmrPi5q0ZM57xrp3dJLhAYmCGK8t PLTbIt40loSLgPMHMcPvhryRIDpCMdqPuAfWCq09p5YnzvR4VkNcamPKFNdJMeCjfXc3 oDhnEUWRIhEYwy/nFwH6oU3n+p9KSq7VXbPII4pv7P2ZW3EmYYRVOqwNjy1rjdmdRrji HFlw== X-Gm-Message-State: AGRZ1gL+1QY5EBUuzo4IjifDV8smyoU53hQvOViiPJdrw82Y3FoGPBp/ b/jqu3E253MpkumX0By7lFpSa1HXxVdtrLx6ykq6DQ== X-Google-Smtp-Source: AJdET5dleMpnTj+W3hVMfrPXM2sOkt6g1OJm8aWYjg2pul95LXXMoOWIFeTl6oK+cBTqAtLUWmIR1s6ae+O+QtGse+w= X-Received: by 2002:a9d:9b3:: with SMTP id q48mr2381960otd.351.1541006719039; Wed, 31 Oct 2018 10:25:19 -0700 (PDT) MIME-Version: 1.0 From: Lakshmi Prasannakumar Date: Wed, 31 Oct 2018 22:55:06 +0530 Message-ID: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Mailman-Approved-At: Wed, 31 Oct 2018 13:56:27 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?utf-8?b?R8OhYm9y?= Boskovits Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Hi , I'm modifying the patch file name to match the coding standards and sending it across. Thanks, Lakshmi Prasannakumar Bangalore From 061eb74487dc8234108b2aa3733a2065ca9bb70e Mon Sep 17 00:00:00 2001 From: lakshmi Date: Wed, 31 Oct 2018 09:57:31 +0530 Subject: [PATCH 3/3] gnu: Add r-weight --- gnu/packages/cran.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 7f2123b..fc95aaa 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -6693,3 +6693,27 @@ component analysis and correlation matrices, cluster analyses, scatter plots, stacked scales, effects plots of regression models (including interaction terms) and much more. This package supports labelled data.") (license license:gpl3))) + +(define-public r-weights +(package + (name "r-weights") + (version "1.0") + (source + (origin + (method url-fetch) + (uri (cran-uri "weights" version)) + (sha256 + (base32 + "0186bfpkhxngrshac6bpg37alp6slwhwd43inrm8hqg0vhpfgc4c")))) + (build-system r-build-system) + (propagated-inputs + `(("r-gdata" ,r-gdata) + ("r-hmisc" ,r-hmisc) + ("r-mice" ,r-mice))) + (home-page + "http://cran.r-project.org/web/packages/weights") + (synopsis "Weighting and weighted statistics") + (description + "This package provides a variety of functions for producing simple weighted statistics, such as weighted Pearson's correlations, partial correlations, Chi-Squared statistics, histograms, and t-tests. It also includes some softwares used for quickly recoding survey data and plotting point estimates from interaction terms in regressions which can be then multiplied with imputed regressions. Weighted partial correlation calculations are pulled to address a bug.") + (license gpl2+))) + -- 2.9.3