summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/r-lmertest/package.py29
1 files changed, 29 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/r-lmertest/package.py b/var/spack/repos/builtin/packages/r-lmertest/package.py
new file mode 100644
index 0000000000..ea07fdbf59
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-lmertest/package.py
@@ -0,0 +1,29 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class RLmertest(RPackage):
+ """Tests in Linear Mixed Effects Models
+
+ Provides p-values in type I, II or III anova and summary tables for lmer
+ model fits (cf. lme4) via Satterthwaite's degrees of freedom method. A
+ Kenward-Roger method is also available via the 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.
+ """
+
+ homepage = "https://github.com/runehaubo/lmerTestR"
+ cran = "lmerTest"
+
+ version('3.1-3', sha256='35aa75e9f5f2871398ff56a482b013e6828135ef04916ced7d1d7e35257ea8fd')
+
+ depends_on('r@3.2.5:', type=('build', 'run'))
+ depends_on('r-lme4@1.1-10:', type=('build', 'run'))
+ depends_on('r-numderiv', type=('build', 'run'))
+ depends_on('r-mass', type=('build', 'run'))
+ depends_on('r-ggplot2', type=('build', 'run'))