anova (parametric) and kruskal.test (non-parametric). Perform one-way ANOVA test comparing multiple groups. LSD and TukeyHSD are post hoc test of anova. dunn and nemenyi are post hoc test of kruskal.test. t.test or wilcox is just perform t.test or wilcox.test in each two group (no p.adjust).
multitest(var, group, print = TRUE, return = FALSE)
No value or a dataframe.
if (requireNamespace("multcompView")) {
multitest(runif(30), rep(c("A", "B", "C"), each = 10), return = "wilcox")
}
#> Loading required namespace: multcompView