CRAN/E | afex

afex

Analysis of Factorial Experiments

Installation

About

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

afex.singmann.science/
github.com/singmann/afex
Bug report File report

Key Metrics

Version 1.3-1
R ≥ 3.5.0
Published 2024-02-25 61 days ago
Needs compilation? no
License GPL-2
License GPL-3
CRAN checks afex results

Downloads

Yesterday 1.013 +5%
Last 7 days 5.368 -16%
Last 30 days 23.163 -22%
Last 90 days 69.618 +15%
Last 365 days 255.873 +37%

Maintainer

Maintainer

Henrik Singmann

singmann@gmail.com

Authors

Henrik Singmann

aut / cre

Ben Bolker

aut

Jake Westfall

aut

Frederik Aust

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

Material

README
NEWS
Reference manual
Package source

In Views

MixedModels

Vignettes

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

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

afex archive

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

Reverse Imports

BiostatsUHNplus
bruceR
fullfact
jmv
pwr2ppl
r2glmm
statsExpressions
Superpower

Reverse Suggests

apa
designr
effectsize
ggstatsplot
insight
marginaleffects
papaja
parameters
performance
standardize
tidystats
TOSTER