summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorManuela Kuhn <36827019+manuelakuhn@users.noreply.github.com>2021-06-03 11:22:37 +0200
committerGitHub <noreply@github.com>2021-06-03 03:22:37 -0600
commita8c7d9a2ed9462506130157ce5eccad9121013a3 (patch)
tree16f4dc219cf59d12b266c5a076acf17200cd4d20 /var
parenta478a8cf9ad0e1d627c841e6e43db75d5eed302c (diff)
downloadspack-a8c7d9a2ed9462506130157ce5eccad9121013a3.tar.gz
spack-a8c7d9a2ed9462506130157ce5eccad9121013a3.tar.bz2
spack-a8c7d9a2ed9462506130157ce5eccad9121013a3.tar.xz
spack-a8c7d9a2ed9462506130157ce5eccad9121013a3.zip
r-afex: add new package (#24004)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/r-afex/package.py37
1 files changed, 37 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/r-afex/package.py b/var/spack/repos/builtin/packages/r-afex/package.py
new file mode 100644
index 0000000000..dac1a2dc61
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-afex/package.py
@@ -0,0 +1,37 @@
+# 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 RAfex(RPackage):
+ """Analysis of Factorial Experiments
+
+ Convenience functions for analyzing factorial experiments using ANOVA or
+ mixed models. aov_ez(), aov_car(), and aov_4() allow specification of
+ between, within (i.e., repeated-measures), or mixed (i.e., split-plot)
+ ANOVAs for data in long format (i.e., one observation per row),
+ automatically aggregating multiple observations per individual and cell
+ of the design. mixed() fits mixed models using lme4::lmer() and computes
+ p-values for all fixed effects using either Kenward-Roger or Satterthwaite
+ approximation for degrees of freedom (LMM only), parametric bootstrap
+ (LMMs and GLMMs), or likelihood ratio tests (LMMs and GLMMs).
+ afex_plot() provides a high-level interface for interaction or one-way
+ plots using ggplot2, combining raw data and model estimates. afex uses
+ type 3 sums of squares as default (imitating commercial statistical
+ software).
+ """
+
+ homepage = "https://github.com/singmann/afex"
+ cran = "afex"
+
+ version('0.28-1', sha256='cfb0b79bfa01b590afc3354a5b2ad3640d2f4974b036d6c256fa8e684bc69c2e')
+
+ depends_on('r@3.5.0:', type=('build', 'run'))
+ depends_on('r-lme4@1.1-8:', type=('build', 'run'))
+ depends_on('r-pbkrtest@0.4-1:', type=('build', 'run'))
+ depends_on('r-lmertest@3.0-0:', type=('build', 'run'))
+ depends_on('r-car', type=('build', 'run'))
+ depends_on('r-reshape2', type=('build', 'run'))