pairwise.wilcox.test(x, g, p.adjust.method = p.adjust.methods, paired = FALSE, ...)
p.adjust
). wilcox.test
."pairwise.htest"
wilcox.test
may or may
not be sensible in this context. In particular,
only the lower triangle of the matrix of possible comparisons is being
calculated, so setting alternative
to anything other than
"two.sided"
requires that the levels of g
are ordered
sensibly.
wilcox.test
, p.adjust
attach(airquality)
Month <- factor(Month, labels = month.abb[5:9])
## These give warnings because of ties :
pairwise.wilcox.test(Ozone, Month)
pairwise.wilcox.test(Ozone, Month, p.adj = "bonf")
detach()
Run the code above in your browser using DataLab