gnu: Add r-lme4.

* gnu/packages/statistics.scm (r-lme4): New variable.

Signed-off-by: Ben Woodcroft <donttrustben@gmail.com>
This commit is contained in:
Raoul Jean Pierre Bonnal 2017-03-11 15:46:28 +10:00 committed by Ben Woodcroft
parent c549864d90
commit 51fc7d8c31
No known key found for this signature in database
GPG Key ID: 2A6AD9F4AAC20DF6
1 changed files with 27 additions and 0 deletions

View File

@ -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+)))