~ruther/guix-local

51fc7d8c31f6c72ec34a4e49050f055b2033a12b — Raoul Jean Pierre Bonnal 9 years ago c549864
gnu: Add r-lme4.

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

Signed-off-by: Ben Woodcroft <donttrustben@gmail.com>
1 files changed, 27 insertions(+), 0 deletions(-)

M gnu/packages/statistics.scm
M gnu/packages/statistics.scm => gnu/packages/statistics.scm +27 -0
@@ 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+)))