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 between-within (i.e., split-plot) ANOVAs for data in long format (i.e., one observation per row), 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 uses type 3 sums of squares as default (imitating commercial statistical software).

Install the latest version of this package by entering the following in R:
install.packages("afex")
AuthorHenrik Singmann [aut, cre], Ben Bolker [aut], Jake Westfall [aut], Frederik Aust [aut], Søren Højsgaard [ctb], John Fox [ctb], Michael A. Lawrence [ctb], Ulf Mertens [ctb], Jonathan Love [ctb]
Date of publication2017-04-13 21:51:51 UTC
MaintainerHenrik Singmann <singmann+afex@gmail.com>
LicenseGPL (>= 2)
Version0.17-8
http://afex.singmann.science/
https://github.com/singmann/afex

View on CRAN

Functions

afex_aov-methods Man page
afex-deprecated Man page
afex_options Man page
afex-package Man page
all_fit Man page
anova.afex_aov Man page
aov4 Man page
aov_4 Man page
aov_car Man page
aov.car Man page
aov_ez Man page
compare.2.vectors Man page
ems Man page
ez.glm Man page
fhch2010 Man page
ks2013.3 Man page
lmer Man page
lmer_alt Man page
lsm.basis.afex_aov Man page
md_12.1 Man page
md_15.1 Man page
md_16.1 Man page
md_16.4 Man page
mixed Man page
nice Man page
nice.afex_aov Man page
nice.anova Man page
nice.mixed Man page
nmkbw Man page
obk.long Man page
print.afex_aov Man page
print.nice_table Man page
recover.data.afex_aov Man page
reexports Man page
round_ps Man page
set_default_contrasts Man page
set_deviation_contrasts Man page
set_effects_contrasts Man page
set_sum_contrasts Man page
set_treatment_contrasts Man page
sk2011.1 Man page
sk2011.2 Man page
summary.afex_aov Man page

Files

inst
inst/extdata
inst/extdata/freeman_models.rda
inst/doc
inst/doc/afex_anova_example.R inst/doc/afex_mixed_example.R
inst/doc/afex_anova_example.html
inst/doc/afex_mixed_example.html
inst/doc/afex_mixed_example.Rmd
inst/doc/afex_anova_example.Rmd
tests
tests/testthat.R
tests/testthat
tests/testthat/lmm_old_object.rda
tests/testthat/afex_aov_16_1.rda
tests/testthat/test-lsmeans-interface.R tests/testthat/test-mixed-structure.R tests/testthat/test-compare_2_vectors.R tests/testthat/test-aov_car-structural.R tests/testthat/test-aov_car-bugs.R tests/testthat/test-mixed-mw.R tests/testthat/test-lmerTest-support.R tests/testthat/test-aov_car-basic.R tests/testthat/test-afex_aov.R
tests/testthat/mixed_with_dot.rda
tests/testthat/test-mixed-bugs.R
NAMESPACE
NEWS
data
data/sk2011.2.rda
data/sk2011.1.rda
data/fhch2010.rda
data/md_15.1.rda
data/ks2013.3.rda
data/obk.long.rda
data/md_16.4.rda
data/md_16.1.rda
data/md_12.1.rda
R
R/md_16.4-data.R R/ems.R R/round_ps.R R/utils.R R/aov_car.R R/helpers.R R/sk2011.2-data.R R/afex-package.R R/set_contrasts.R R/ks2013.3-data.R R/md_16.1-data.R R/obk.long-data.R R/compare.2.vectors.R R/sk2011.1-data.R R/md_15.1-data.R R/mixed.R R/nice.R R/md_12.1-data.R R/deprecated.R R/allFit.R R/reexport.R R/methods.afex_aov.R R/fhch2010-data.R R/zzz.R
vignettes
vignettes/afex_mixed_example.Rmd
vignettes/afex_anova_example.Rmd
MD5
build
build/vignette.rds
DESCRIPTION
man
man/deprecated.Rd man/mixed.Rd man/ems.Rd man/sk2011.1.Rd man/afex-package.Rd man/sk2011.2.Rd man/md_16.1.Rd man/round_ps.Rd man/compare.2.vectors.Rd man/afex_aov-methods.Rd man/nice.Rd man/fhch2010.Rd man/ks2013.3.Rd man/all_fit.Rd man/reexports.Rd man/obk.long.Rd man/aov_car.Rd man/md_16.4.Rd man/set_sum_contrasts.Rd man/md_12.1.Rd man/md_15.1.Rd man/afex_options.Rd

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.