\name{statwitness_repeated}
\alias{statwitness_repeated}
\title{Audit a Repeated-Measures ANOVA}
\usage{
statwitness_repeated(
  data,
  outcome,
  id,
  within,
  between = NULL,
  focus = NULL,
  type = 3,
  correction = "GG",
  tolerance = 1e-07,
  seed = 20260712,
  audit_level = c("standard", "core", "thorough")
)
}
\arguments{
\item{data}{A long-format data frame.}
\item{outcome}{Name of the numeric outcome column.}
\item{id}{Name of the participant identifier column.}
\item{within}{Character vector of within-subject factor names.}
\item{between}{Optional between-subject factor names.}
\item{focus}{Optional omnibus effect name.}
\item{type}{Sums-of-squares type passed to \code{afex::aov_ez()}.}
\item{correction}{Sphericity correction, usually \code{"GG"}.}
\item{tolerance}{Relative numerical tolerance.}
\item{seed}{Seed for row-order testing.}
\item{audit_level}{Audit breadth: \code{"core"}, \code{"standard"}, or \code{"thorough"}.}
}
\value{An object of class \code{statwitness_audit}.}
\description{
Fits a repeated-measures ANOVA using \code{afex::aov_ez()} and checks design
integrity, sphericity handling, row-order and participant-label invariance,
outcome transformations, residual screening, and feasible participant-deletion
influence checks.
}
