aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2019-03-07 22:10:21 +0100
committerRicardo Wurmus <rekado@elephly.net>2019-03-07 23:52:35 +0100
commitf0bff69873b53a9bdcf3817bc02162354c5256b4 (patch)
treecf00ef3b6c88fa0d5f67464da3345ab454103c84 /gnu/packages
parentdab3e92c94ef86bd4eaf1c3f52f7ffdedcc7bd4f (diff)
downloadguix-f0bff69873b53a9bdcf3817bc02162354c5256b4.tar
guix-f0bff69873b53a9bdcf3817bc02162354c5256b4.tar.gz
gnu: Add r-survey.
* gnu/packages/cran.scm (r-survey): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/cran.scm33
1 files changed, 33 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index b3378322d1..cf00ee5e23 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -7166,6 +7166,39 @@ animation. In RStudio, images are automatically previewed when printed to the
console, resulting in an interactive editing environment.")
(license license:expat)))
+(define-public r-survey
+ (package
+ (name "r-survey")
+ (version "3.35-1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "survey" version))
+ (sha256
+ (base32
+ "1nv4sdfmidvyjgvp3zvn5iw35bb8w0v7095is2pdy8cckkgdvr8i"))))
+ (build-system r-build-system)
+ (propagated-inputs
+ `(("r-lattice" ,r-lattice)
+ ("r-matrix" ,r-matrix)
+ ("r-minqa" ,r-minqa)
+ ("r-numderiv" ,r-numderiv)
+ ("r-survival" ,r-survival)))
+ (home-page "http://r-survey.r-forge.r-project.org/survey/")
+ (synopsis "Analysis of complex survey samples")
+ (description
+ "This package provides tools for the analysis of complex survey samples.
+The provided features include: summary statistics, two-sample tests, rank
+tests, generalised linear models, cumulative link models, Cox models,
+loglinear models, and general maximum pseudolikelihood estimation for
+multistage stratified, cluster-sampled, unequally weighted survey samples;
+variances by Taylor series linearisation or replicate weights;
+post-stratification, calibration, and raking; two-phase subsampling designs;
+graphics; PPS sampling without replacement; principal components, and factor
+analysis.")
+ ;; Either version of the GPL.
+ (license (list license:gpl2 license:gpl3))))
+
(define-public r-dvmisc
(package
(name "r-dvmisc")