pairwise.wilcox.test {stats} | R Documentation |
Calculate pairwise comparisons between group levels with corrections for multiple testing.
pairwise.wilcox.test(x, g, p.adjust.method=p.adjust.methods, ...)
x |
Response vector |
g |
Grouping vector or factor |
p.adjust.method |
Method for adjusting p values (see
p.adjust ) |
... |
Additional arguments to pass to wilcox.test . |
Object of class "pairwise.htest"
data(airquality) 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()