summary refs log tree commit diff
path: root/gnu/packages/cran.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2018-10-25 05:15:10 +0200
committerRicardo Wurmus <rekado@elephly.net>2018-10-25 05:17:42 +0200
commit302db5855226f2f82597de6887a450f8a900faff (patch)
tree4cb295db079a977af438bddf2b81f55fcddcdfec /gnu/packages/cran.scm
parent69bb2d99661a3d65a1993f66bbbdb8e6b7c17ecd (diff)
downloadguix-302db5855226f2f82597de6887a450f8a900faff.tar.gz
gnu: Add r-sandwich.
* gnu/packages/cran.scm (r-sandwich): New variable.
Diffstat (limited to 'gnu/packages/cran.scm')
-rw-r--r--gnu/packages/cran.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index f6dc1514de..f1948a85e5 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -6277,3 +6277,25 @@ observation.")
      "This package provides tools for the analysis and visualization of bilateral
       asymmetry in parasitic infections.")
     (license license:gpl3+)))
+
+(define-public r-sandwich
+  (package
+    (name "r-sandwich")
+    (version "2.5-0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "sandwich" version))
+       (sha256
+        (base32
+         "168kq5kk34xbhfsxsanard9zriyp6cw0s09ralzb57kk42pl9hbc"))))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-zoo" ,r-zoo)))
+    (home-page "https://cran.r-project.org/web/packages/sandwich/")
+    (synopsis "Robust Covariance Matrix Estimators")
+    (description
+     "This package provides model-robust standard error estimators for
+cross-sectional, time series, clustered, panel, and longitudinal data.")
+    ;; Either version of the license.
+    (license (list license:gpl2 license:gpl3))))