View source: R/pairwise.wilcox.exact.R
pairwise.wilcox.exact | R Documentation |
The function computes pairwise Wilcoxon rank sum and signed rank tests
using function wilcox.exact
of package exactRankTests.
pairwise.wilcox.exact(x, g, p.adjust.method = "holm", paired = FALSE, ...)
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. |
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.
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
|
Matthias Kohl Matthias.Kohl@stamats.de
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.