One-way repeated-measures ANOVA
MinutePlot® and R on the same data. MinutePlot version 1.0.0; R 4.5.2.
Dataset
- rm_longitudinal (generated) — A generated longitudinal dataset: 8 subjects measured at three times (T1, T2, T3), one value each -- subject, within-factor, value; fixed seed.
- Data format for MinutePlot: rm_longitudinal_minuteplot.csv — arranged exactly as the app’s data template for this test expects (paste it into the app).
- Data format for R: rm_longitudinal_r.csv — the long-format file the R script reads (keep it in the script’s folder).
Setup
In MinutePlot:
- Workbench → One-way repeated-measures ANOVA → paste rm_longitudinal_minuteplot.csv (conditions T1–T3 down the rows, subjects S1–S8 across; pairing by column).
- α = 0.05 → Confirm and Analyze; Mauchly’s test and the Greenhouse–Geisser correction are reported automatically.
In R:
- Install once:
install.packages(c("ez")); then runrm_anova.Rtop to bottom (source it, or paste it into the console) with the R data file in the same folder. - R 4.5.2 and the package versions in the page header; each script prints the versions it runs under.
The analysis:
- Model: one within-subject factor (time, 3 levels), every subject measured under every level; MinutePlot fits the univariate repeated-measures ANOVA -- the same F as R’s aov(value ~ time + Error(subject/time)) -- not a mixed model.
- Assumptions: Mauchly’s test of sphericity is reported; MinutePlot reports the uncorrected p and the Greenhouse–Geisser (and Huynh–Feldt) corrected p and applies the correction when sphericity is rejected (R reference for the correction: the same ε as ez::ezANOVA / afex report). α = 0.05.
Side-by-side results
Within-subject effect of time
MinutePlot®
| Term | df | F | p (uncorrected) | GG ε | p (GG) |
|---|---|---|---|---|---|
| time | 2, 14 | 19.9991 | < 0.0001 | 0.8625 | 0.0002 |
R
| Term | df | F | p (uncorrected) | GG ε | p (GG) |
|---|---|---|---|---|---|
| time | 2, 14 | 19.9991 | < 0.0001 | 0.8625 | 0.0002 |
R values: verified in R 4.5.2 (see the verdict).
Mauchly’s sphericity test
MinutePlot®
| W | p |
|---|---|
| 0.8406 | 0.5940 |
R
| W | p |
|---|---|
| 0.8406 | 0.5940 |
R values: verified in R 4.5.2 (see the verdict).
Verdict
F, p, the Greenhouse–Geisser ε and the corrected p agree with R’s printed values (aov with Error strata; ez::ezANOVA), and Mauchly’s W and p agree (R: 0.8406, 0.5940).
R script
rm_anova.R — each script loads its data, prints its versions and the R-side tables shown above, in page order; no plotting.
R values verified in R 4.5.2 (emmeans 2.0.4, multcomp 1.4-32, multcompView 0.1-12, ez 4.5.0, Hmisc 5.3.0, pls 2.9.0, drc 3.0-1, car 3.1-5) on 16–17 September 2026.