guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

12/14: gnu: Add r-glmmtmb.


From: Ricardo Wurmus
Subject: 12/14: gnu: Add r-glmmtmb.
Date: Wed, 24 Oct 2018 23:17:56 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit 413944234cf736f6e180a3c075df7e8229727d8f
Author: Ricardo Wurmus <address@hidden>
Date:   Thu Oct 25 05:16:54 2018 +0200

    gnu: Add r-glmmtmb.
    
    * gnu/packages/cran.scm (r-glmmtmb): New variable.
---
 gnu/packages/cran.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 70cba10..4cd11bf 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -6529,3 +6529,35 @@ most functions lies on summary statistics or fit 
measures for regression
 models, including generalized linear models, mixed effects models and Bayesian
 models.")
     (license license:gpl3)))
+
+(define-public r-glmmtmb
+  (package
+    (name "r-glmmtmb")
+    (version "0.2.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "glmmTMB" version))
+       (sha256
+        (base32
+         "1clpkjlmsjmn3m1z5jqv8cgw6bvpqsy4nx6k947r0jya017ny5y5"))))
+    (properties `((upstream-name . "glmmTMB")))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-lme4" ,r-lme4)
+       ("r-matrix" ,r-matrix)
+       ("r-nlme" ,r-nlme)
+       ("r-rcppeigen" ,r-rcppeigen)
+       ("r-tmb" ,r-tmb)))
+    (native-inputs
+     `(("r-knitr" ,r-knitr)))
+    (home-page "https://github.com/glmmTMB";)
+    (synopsis "Generalized linear mixed models")
+    (description
+     "Fit linear and generalized linear mixed models with various extensions,
+including zero-inflation.  The models are fitted using maximum likelihood
+estimation via the Template Model Builder.  Random effects are assumed to be
+Gaussian on the scale of the linear predictor and are integrated out using the
+Laplace approximation.  Gradients are calculated using automatic
+differentiation.")
+    (license license:agpl3+)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]