pairwise.wilcox.exact {MKinfer} | R Documentation |
Compute Pairwise Wilcoxon Tests
Description
The function computes pairwise Wilcoxon rank sum and signed rank tests
using function wilcox.exact
of package exactRankTests.
Usage
pairwise.wilcox.exact(x, g, p.adjust.method = "holm", paired = FALSE, ...)
Arguments
x |
numeric vector. |
g |
grouping vector or factor |
p.adjust.method |
method for adjusting p values (see |
paired |
a logical indicating whether you want a paired test. |
... |
additional arguments to fun. |
Details
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.
Value
Object of class "pw.htest"
containing the following components:
data.name |
a character string giving the names of the data. |
method |
the type of test applied. |
null.value |
the location parameter mu. |
alternative |
a character string describing the alternative hypothesis. |
conf.level |
confidence level of the confidence interval. |
results |
a data.frame containing the results of function
|
Author(s)
Matthias Kohl Matthias.Kohl@stamats.de
See Also
wilcox.exact
,
pairwise.wilcox.test
Examples
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)