unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#33214] Patch file for weight package
@ 2018-10-31  4:38 Lakshmi Prasannakumar
  2018-10-31  9:29 ` [bug#33214] Patch Tracker no. 33214 Lakshmi Prasannakumar
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Lakshmi Prasannakumar @ 2018-10-31  4:38 UTC (permalink / raw)
  To: 33214


[-- Attachment #1.1: Type: text/plain, Size: 130 bytes --]

Hi,

Please find the attached patch file for adding weight package from cran
repository.

Thanks,
Lakshmi Prasannakumar
Bangalore

[-- Attachment #1.2: Type: text/html, Size: 907 bytes --]

[-- Attachment #2: 0001-Adding-the-package-weights-for-using-weighted-statis.patch --]
[-- Type: text/x-patch, Size: 1801 bytes --]

From fc22007a28621824b5aa06deb7c64823f1b0fcc9 Mon Sep 17 00:00:00 2001
From: lakshmi <lakshmiprasannakumaran@gmail.com>
Date: Wed, 31 Oct 2018 09:57:31 +0530
Subject: [PATCH] Adding the package weights for using weighted statistics
 functions

---
 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


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-11-06 15:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-31  4:38 [bug#33214] Patch file for weight package Lakshmi Prasannakumar
2018-10-31  9:29 ` [bug#33214] Patch Tracker no. 33214 Lakshmi Prasannakumar
2018-10-31 10:18   ` Gábor Boskovits
2018-11-01  9:16 ` [bug#33214] Modifying the commit message to gnu-Add-r-weights Lakshmi Prasannakumar
2018-11-06 15:23 ` bug#33214: gnu: Add r-weights Gábor Boskovits

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).