ElkinAB {ARTool}R Documentation

Synthetic 2x2 Within-Subjects Experiment

Description

Synthetic data from an experiment with two within-subjects factors (A and B) having two levels each.

Format

A data frame with 32 observations on the following 4 variables.

S

a factor representing subjects with levels "s1" .. "s8"

A

a factor with levels "a1" "a2"

B

a factor with levels "b1" "b2"

Y

a numeric vector

Source

Elkin, L. A., Kay, M, Higgins, J. J., and Wobbrock, J. O. (2021). An Aligned Rank Transform Procedure for Multifactor Contrast Tests. arXiv eprint: 2102.11824.

Examples


data(ElkinAB, package = "ARTool")

## run contrast using the ART-C procedure on the data.
m <- art(Y ~ A*B + (1|S), data = ElkinAB)
art.con(m, "A:B")


[Package ARTool version 0.11.0 Index]