Learn R Programming

afex (version 0.14-2)

afex-package: The afex Package

Description

Analysis of Factorial Experiments.

Arguments

Details

ll{ Package: afex Type: Package Version: 0.14-2 Date: 2015-08-17 Depends: R (>= 3.0.0), lme4 (>= 1.0.5), reshape2, lsmeans (>= 2.17) Encoding: UTF-8 License: GPL (>=3) URL: https://github.com/singmann/afex }

Provides 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), potentially 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 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).