Learn R Programming

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

afex (version 0.22-1)

Analysis of Factorial Experiments

Description

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

Copy Link

Version

Install

install.packages('afex')

Monthly Downloads

28,018

Version

0.22-1

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Last Published

September 24th, 2018

Functions in afex (0.22-1)

reexports

Objects exported from other packages
round_ps

Helper function which rounds p-values
set_sum_contrasts

Set global contrasts
sk2011.1

Data from Singmann & Klauer (2011, Experiment 1)
md_16.4

Data 16.4 from Maxwell & Delaney
mixed

p-values for fixed effects of mixed-model via lme4::lmer()
ks2013.3

Data from Klauer & Singmann (2013, Experiment 3)
md_12.1

Data 12.1 from Maxwell & Delaney
md_16.1

Data 16.1 / 10.9 from Maxwell & Delaney
md_15.1

Data 15.1 / 11.5 from Maxwell & Delaney
sk2011.2

Data from Singmann & Klauer (2011, Experiment 2)
aov_car

Convenient ANOVA estimation for factorial designs
nice

Make nice ANOVA table for printing.
obk.long

O'Brien Kaiser's Repeated-Measures Dataset with Covariate
compare.2.vectors

Compare two vectors using various tests.
afex_aov-methods

Methods for afex_aov objects
afex_options

Set/get global afex options
aov.car

Deprecated functions
fhch2010

Data from Freeman, Heathcote, Chalmers, & Hockley (2010)
all_fit

Refit lmer model using multiple optimizers
afex-package

afex Maintainer: afex
ems

Expected values of mean squares for factorial designs Implements the Cornfield-Tukey algorithm for deriving the expected values of the mean squares for factorial designs.
afex_plot

m-way Plot with Error Bars and Raw Data