attach(airquality)
Month <- factor(Month, labels = month.abb[5:9])
ptt <- pairwise.t.test(Ozone, Month)
tidy(ptt)
attach(iris)
ptt2 <- pairwise.t.test(Petal.Length, Species)
tidy(ptt2)
tidy(pairwise.t.test(Petal.Length, Species, alternative = "greater"))
tidy(pairwise.t.test(Petal.Length, Species, alternative = "less"))
tidy(pairwise.wilcox.test(Petal.Length, Species))
Run the code above in your browser using DataLab