Subject: bug#33217: closed (gnu: Add r-weights.)

From: [email-masked] (GNU bug Tracking System)
Date: Tue, 06 Nov 2018 15:24:02 +0000

Your bug report

#33214: Adding r-weights patch file

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
33214: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=33214
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: gnu: Add r-weights.
From: Gábor Boskovits <[email-masked]>
To: Lakshmi Prasannakumar <[email-masked]>, Björn Höfling <[email-masked]>, Ludovic Courtès <[email-masked]>, Ricardo Wurmus <[email-masked]>, [email-masked]
Date: Tue, 6 Nov 2018 16:23:02 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

This has made to master on commit cddc0300b7fb5fbbc80f45a626073f8372bf491f.

Thanks for all the hard work!

Subject: Adding r-weights patch file
From: Lakshmi Prasannakumar <[email-masked]>
To: [email-masked]
Cc: Björn Höfling <[email-masked]>,Gábor Boskovits <[email-masked]>
Date: Wed, 31 Oct 2018 22:55:06 +0530
List-Id: <debbugs-submit.debbugs.gnu.org>

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 <[email-masked]>
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