afex

Analysis of Factorial Experiments

CRAN Package

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


Documentation


Team


Insights

Last 30 days

This package has been downloaded 24,017 times in the last 30 days. The downloads are officially high enough to crash an underfunded departmental server. Quite an accomplishment! The following heatmap shows the distribution of downloads per day. Yesterday, it was downloaded 878 times.

Sun
Mon
Tue
Wed
Thu
Fri
Sat
0 downloadsMar 2, 2025
0 downloadsMar 3, 2025
1,093 downloadsMar 4, 2025
1,097 downloadsMar 5, 2025
986 downloadsMar 6, 2025
710 downloadsMar 7, 2025
402 downloadsMar 8, 2025
440 downloadsMar 9, 2025
983 downloadsMar 10, 2025
1,046 downloadsMar 11, 2025
968 downloadsMar 12, 2025
917 downloadsMar 13, 2025
777 downloadsMar 14, 2025
471 downloadsMar 15, 2025
433 downloadsMar 16, 2025
1,002 downloadsMar 17, 2025
988 downloadsMar 18, 2025
928 downloadsMar 19, 2025
847 downloadsMar 20, 2025
850 downloadsMar 21, 2025
471 downloadsMar 22, 2025
432 downloadsMar 23, 2025
968 downloadsMar 24, 2025
909 downloadsMar 25, 2025
992 downloadsMar 26, 2025
873 downloadsMar 27, 2025
1,231 downloadsMar 28, 2025
373 downloadsMar 29, 2025
426 downloadsMar 30, 2025
740 downloadsMar 31, 2025
786 downloadsApr 1, 2025
878 downloadsApr 2, 2025
0 downloadsApr 3, 2025
0 downloadsApr 4, 2025
0 downloadsApr 5, 2025
373
1,231

The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.

Last 365 days

This package has been downloaded 275,853 times in the last 365 days. Practically an academic rockstar! That's enough downloads to cause murmurs at international conferences. The day with the most downloads was Oct 21, 2024 with 1,465 downloads.

The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.

Data provided by CRAN


Binaries


Dependencies

  • Depends1 package
  • Imports4 packages
  • Suggests39 packages
  • Reverse Depends1 package
  • Reverse Imports8 packages
  • Reverse Suggests9 packages