powered by
Perform one-way ANOVA followed by Tukey HSD post-hoc test with compact letter display.
aov_test(df, variable_name, group)
A named list with elements anova_summary, tukey_results, and compact_letters.
anova_summary
tukey_results
compact_letters
A data frame.
Name of the response variable column (string).
Name of the grouping column (string).
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")
Run the code above in your browser using DataLab