⚠️There's a newer version (1.3-1) of this package. Take me there.

afex (version 0.10-113)

Analysis of Factorial Experiments

Description

Provides convenience functions for analyzing factorial experiments using ANOVA or mixed-models. ez.glm() and aov.car() allow convenient calculation of between, within (i.e., repeated-measures), or mixed between-within (i.e., split-plot) ANOVAs for data in the long format (i.e., one observation per row) wrapping car::Anova() (aggregating more then one observation per individual and cell of the design), per default returning a print ready ANOVA table. Function mixed() fits a mixed model using lme4::lmer() and computes p-values for all effects in the model using either the Kenward-Roger approximation of 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). Furthermore, compare.2.vectors() conveniently compares two vectors using a variety of tests.

Copy Link

Version

Down Chevron

Install

install.packages('afex')

Monthly Downloads

26,253

Version

0.10-113

License

GPL (>= 3)

Maintainer

Last Published

August 4th, 2014

Functions in afex (0.10-113)