afex-package {afex} | R Documentation |
Analysis of Factorial Experiments.
Package: | afex |
Type: | Package |
Version: | 0.16-1 |
Date: | 2016-04-04 |
Depends: | R (>= 3.1.0), lme4 (>= 1.1-8), reshape2, lsmeans (>= 2.17) |
Encoding: | UTF-8 |
License: | GPL (>=3) |
URL: | https://github.com/singmann/afex |
Provides 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 between-within (i.e., split-plot) ANOVAs for data in long format (i.e., one observation per row), potentially 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 approximation for degrees of freedom (LMM only), parametric bootstrap (LMMs and GLMMs), or likelihood ratio tests (LMMs and GLMMs). afex uses type 3 sums of squares as default (imitating commercial statistical software).
Henrik Singmann, Ben Bolker, Jake Westfall, Frederik Aust, with contributions from Søren Højsgaard, John Fox, Michael A. Lawrence, Ulf Mertens