From 7c02dd6268c70d86b4c63c38ddfb034463874cc0 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Tue, 30 Oct 2018 22:47:26 +0100 Subject: gnu: Add r-lmertest. * gnu/packages/cran.scm (r-lmertest): New variable. --- gnu/packages/cran.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 09cf64a5d0..9b465692e2 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -7163,3 +7163,32 @@ analysing multivariate abundance data in community ecology.") "This package provides convenience functions for analyzing factorial experiments using ANOVA or mixed models.") (license license:gpl2+))) + +(define-public r-lmertest + (package + (name "r-lmertest") + (version "3.0-1") + (source + (origin + (method url-fetch) + (uri (cran-uri "lmerTest" version)) + (sha256 + (base32 + "0pia69sc8bn37mkiprdf91iilziqb865f94k6x6c26i33fg7rq4m")))) + (properties `((upstream-name . "lmerTest"))) + (build-system r-build-system) + (propagated-inputs + `(("r-ggplot2" ,r-ggplot2) + ("r-lme4" ,r-lme4) + ("r-mass" ,r-mass) + ("r-numderiv" ,r-numderiv))) + (home-page "https://github.com/runehaubo/lmerTestR") + (synopsis "Tests in linear mixed effects models") + (description + "This package provides p-values in type I, II or III anova and summary +tables for @code{lmer} model fits via Satterthwaite's degrees of freedom +method. A Kenward-Roger method is also available via the @code{pbkrtest} +package. Model selection methods include step, drop1 and anova-like tables +for random effects (ranova). Methods for Least-Square means (LS-means) and +tests of linear contrasts of fixed effects are also available.") + (license license:gpl2+))) -- cgit 1.4.1