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).

Maintainer: Henrik Singmann <singmann+afex at gmail.com>

Author(s): Henrik Singmann*, Ben Bolker*, Jake Westfall*, Frederik Aust*, Søren Højsgaard*, John Fox*, Michael A. Lawrence*, Ulf Mertens*

Install package and any missing dependencies by running this line in your R console:

install.packages("afex")

Depends R (>= 3.1.0), lme4(>=1.1-8), reshape2, lsmeans(>=2.17)
Imports stringr, coin, Matrix(>=1.1.1), pbkrtest(>=0.4-1), car, stats, utils, methods
Suggests ascii, xtable, parallel, plyr, optimx, nloptr, knitr, lattice, multcomp, testthat, mlmRev, dplyr
Enhances
Linking to
Reverse
depends
fullfact
Reverse
imports
jmv, r2glmm
Reverse
suggests
apa
Reverse
enhances
Reverse
linking to

Package afex
Materials
URL https://github.com/singmann/afex
Task Views
Version 0.16-1
Published 2016-04-04
License GPL (>= 3)
BugReports
SystemRequirements
NeedsCompilation no
Citation
CRAN checks afex check results
Package source afex_0.16-1.tar.gz