From cb51b4f5199280e8af256fac12d32903d52857a3 Mon Sep 17 00:00:00 2001 From: lakshmi Date: Sun, 4 Nov 2018 21:52:11 +0530 Subject: [PATCH 3/3] gnu:r-weights.:Add r-weights. * gnu/packages/cran.scm (r-weight): New variable. --- gnu/packages/cran.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 28d0083..03969ca 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -7251,3 +7251,26 @@ using @dfn{penalized quasi-likelihood} (PQL) estimation (see Jaeger et al. (2016)).") (license license:gpl2))) >>>>>>> 30012b74088dccbb602e3592c61a5718fc5e5524 + +(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 + "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. This package also now includes some software for quickly recoding survey data and plotting point estimates from interaction terms in regressions (and multiply imputed regressions). It must be noted that Weighted partial correlation calculations pulled to address a bug.") + (license gpl2+))) -- 2.9.3