unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Lakshmi Prasannakumar <lakshmiprasannakumaran@gmail.com>
To: 33214@debbugs.gnu.org
Subject: [bug#33214] Patch file for weight package
Date: Wed, 31 Oct 2018 10:08:07 +0530	[thread overview]
Message-ID: <CA+H0LRNAX0U9jmz1xvyuWiseR1Hvaqchm17qQsco4vP0suxvqw@mail.gmail.com> (raw)


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


             reply	other threads:[~2018-10-31  5:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-31  4:38 Lakshmi Prasannakumar [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CA+H0LRNAX0U9jmz1xvyuWiseR1Hvaqchm17qQsco4vP0suxvqw@mail.gmail.com \
    --to=lakshmiprasannakumaran@gmail.com \
    --cc=33214@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).