benwoodcroft pushed a commit to branch master
in repository guix.
commit 51fc7d8c31f6c72ec34a4e49050f055b2033a12b
Author: Raoul Jean Pierre Bonnal <[email protected]>
Date: Sat Mar 11 15:46:28 2017 +1000
gnu: Add r-lme4.
* gnu/packages/statistics.scm (r-lme4): New variable.
Signed-off-by: Ben Woodcroft <[email protected]>
---
gnu/packages/statistics.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index eaec038..d3ea4f7 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -4584,3 +4584,30 @@ common interface for a number of different free
optimization routines
available online as well as original implementations of various other
algorithms.")
(license license:lgpl3)))
+
+(define-public r-lme4
+ (package
+ (name "r-lme4")
+ (version "1.1-12")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "lme4" version))
+ (sha256
+ (base32
+ "0j60l5kgx1wvw2wm3jwfqwi63hammaq8gfcxzwa4h552likvaxi9"))))
+ (build-system r-build-system)
+ (native-inputs
+ `(("r-rcpp" ,r-rcpp)
+ ("r-rcppeigen" ,r-rcppeigen)))
+ (propagated-inputs
+ `(("r-minqa" ,r-minqa)
+ ("r-nloptr" ,r-nloptr)))
+ (home-page "http://cran.r-project.org/web/packages/lme4")
+ (synopsis "Linear mixed-effects models using eigen and S4")
+ (description
+ "This package provides fit linear and generalized linear mixed-effects
+models. The models and their components are represented using S4 classes and
+methods. The core computational algorithms are implemented using the Eigen
+C++ library for numerical linear algebra and RcppEigen glue.")
+ (license license:gpl2+)))