From f8f7d89a577a6bb8b9c1190af0d0128039bf2145 Mon Sep 17 00:00:00 2001 From: Mark Colley <39366189+M-Colley@users.noreply.github.com> Date: Tue, 24 Nov 2026 18:02:02 +0000 Subject: [PATCH] Document term labels in ART ANOVA results --- R/anova.art.R | 6 +++++- man/anova.art.Rd | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/R/anova.art.R b/R/anova.art.R index 09d7710..6f5f600 100755 --- a/R/anova.art.R +++ b/R/anova.art.R @@ -62,7 +62,11 @@ #' @param \dots Additional arguments passed to \code{\link[car]{Anova}} or #' \code{\link{anova}} by \code{anova.art} or to \code{\link{print}} by #' \code{print.anova.art}. -#' @return An object of class \code{"anova"}, which usually is printed. +#' @return A data frame of class \code{"anova.art"} and \code{"anova"}. +#' The \code{Term} column contains the term labels. +#' Use \code{anova(m)$Term} to extract them, where \code{m} is an object +#' returned by \code{\link{art}}. +#' The print method displays these terms as numbered row labels. #' @author Matthew Kay #' @seealso See \code{\link{art}} for an example. See also #' \code{\link{summary.art}}, \code{\link{artlm}}. diff --git a/man/anova.art.Rd b/man/anova.art.Rd index 1161482..d5c751e 100755 --- a/man/anova.art.Rd +++ b/man/anova.art.Rd @@ -58,7 +58,11 @@ repeated measures ANOVAs). Default \code{FALSE}, for brevity.} \item{digits}{Digits of output in printed table; see \code{\link{print}}.} } \value{ -An object of class \code{"anova"}, which usually is printed. +A data frame of class \code{"anova.art"} and \code{"anova"}. +The \code{Term} column contains the term labels. +Use \code{anova(m)$Term} to extract them, where \code{m} is an object +returned by \code{\link{art}}. +The print method displays these terms as numbered row labels. } \description{ Conduct analyses of variance on aligned rank transformed data.