aov_test: aov_test

View source: R/statistics.R

aov_testR Documentation

aov_test

Description

Perform one-way ANOVA followed by Tukey HSD post-hoc test with compact letter display.

Usage

aov_test(df, variable_name, group)

Arguments

df

A data frame.

variable_name

Name of the response variable column (string).

group

Name of the grouping column (string).

Value

A named list with elements anova_summary, tukey_results, and compact_letters.

Examples

df <- data.frame(
  grp = rep(c("A","B","C"), each = 5),
  val = c(1,2,1,2,1, 3,4,3,4,3, 5,6,5,6,5)
)
aov_test(df, "val", "grp")

aelab documentation built on Feb. 23, 2026, 5:07 p.m.