powered by
The function computes pairwise Wilcoxon rank sum and signed rank tests using function wilcox.exact of package exactRankTests.
wilcox.exact
pairwise.wilcox.exact(x, g, p.adjust.method = "holm", paired = FALSE, ...)
Object of class "pw.htest" containing the following components:
"pw.htest"
a character string giving the names of the data.
the type of test applied.
the location parameter mu.
a character string describing the alternative hypothesis.
confidence level of the confidence interval.
a data.frame containing the results of function wilcox.exact
numeric vector.
grouping vector or factor
method for adjusting p values (see p.adjust). Can be abbreviated.
p.adjust
a logical indicating whether you want a paired test.
additional arguments to fun.
Matthias Kohl Matthias.Kohl@stamats.de
The function computes pairwise Wilcoxon rank sum and signed rank tests.
The implementation is in certain aspects analogously to pairwise.wilcox.test. However, a more detailed output is generated.
pairwise.wilcox.test
wilcox.exact, pairwise.wilcox.test
set.seed(13) x <- rnorm(100) g <- factor(sample(1:4, 100, replace = TRUE)) levels(g) <- c("a", "b", "c", "d") pairwise.wilcox.exact(x, g) ## in contrast to pairwise.wilcox.test(x, g)
Run the code above in your browser using DataLab