The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

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

Version: 1.4-1
Depends: R (≥ 3.5.0), lme4 (≥ 1.1-8)
Imports: pbkrtest (≥ 0.4-1), lmerTest (≥ 3.0-0), car, reshape2, stats, methods, utils
Suggests: emmeans (≥ 1.4), coin, xtable, parallel, plyr, optimx, nloptr, knitr, rmarkdown, R.rsp, lattice, latticeExtra, multcomp, testthat, mlmRev, dplyr, tidyr, dfoptim, Matrix, psychTools, ggplot2, MEMSS, effects, carData, ggbeeswarm, nlme, cowplot, jtools, ggpubr, ggpol, MASS, glmmTMB, brms, rstanarm, statmod, performance (≥ 0.7.2), see (≥ 0.6.4), ez, ggResidpanel, grid, vdiffr
Published: 2024-09-01
DOI: 10.32614/CRAN.package.afex
Author: Henrik Singmann ORCID iD [aut, cre], Ben Bolker [aut], Jake Westfall [aut], Frederik Aust ORCID iD [aut], Mattan S. Ben-Shachar [aut], Søren Højsgaard [ctb], John Fox [ctb], Michael A. Lawrence [ctb], Ulf Mertens [ctb], Jonathon Love [ctb], Russell Lenth [ctb], Rune Haubo Bojesen Christensen [ctb]
Maintainer: Henrik Singmann <singmann at gmail.com>
BugReports: https://github.com/singmann/afex/issues
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
URL: https://afex.singmann.science/, https://github.com/singmann/afex
NeedsCompilation: no
Materials: README NEWS
In views: MixedModels
CRAN checks: afex results

Documentation:

Reference manual: afex.pdf
Vignettes: Analysis of Accuracy Data using ANOVA and binomial GLMMs (source, R code)
ANOVA and Post-Hoc Contrasts: Reanalysis of Singmann and Klauer (2011) (source, R code)
Mixed Model Example Analysis: Reanalysis of Freeman et al. (2010) (source, R code)
afex_plot: Publication Ready Plots for Experimental Designs (source, R code)
afex_plot: Supported Models (source, R code)
Testing the Assumptions of ANOVAs (source, R code)
An Introduction to Mixed Models for Experimental Psychology (source)

Downloads:

Package source: afex_1.4-1.tar.gz
Windows binaries: r-devel: afex_1.4-1.zip, r-release: afex_1.4-1.zip, r-oldrel: afex_1.4-1.zip
macOS binaries: r-release (arm64): afex_1.4-1.tgz, r-oldrel (arm64): afex_1.4-1.tgz, r-release (x86_64): afex_1.4-1.tgz, r-oldrel (x86_64): afex_1.4-1.tgz
Old sources: afex archive

Reverse dependencies:

Reverse depends: AOboot
Reverse imports: BiostatsUHNplus, bruceR, fullfact, jmv, pwr2ppl, r2glmm, statsExpressions, Superpower
Reverse suggests: apa, designr, effectsize, ggstatsplot, insight, marginaleffects, papaja, parameters, performance, standardize, tidystats, TOSTER

Linking:

Please use the canonical form https://CRAN.R-project.org/package=afex to link to this page.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.