View source: R/pairwise.clusWilcox.test.R
pairwise.clusWilcox.test | R Documentation |
Performs pairwise comparisons between group levels with corrections for multiple testing.
pairwise.clusWilcox.test(
x,
group,
cluster,
p.adjust.method = p.adjust.methods,
...
)
x |
A numeric vector of data values. |
group |
An optional numeric vector of treatment id. |
cluster |
An optional numeric vector of cluster id. |
p.adjust.method |
Method for adjusting p values. |
... |
Other arguments passed to |
A pairwise.htest
object.
library(clusrank)
data(crd)
## for demonstration purpose, create random groups
set.seed(123)
g <- sample(seq_len(3), size = nrow(crd), replace = TRUE)
with(crd, pairwise.clusWilcox.test(z, group = g, cluster = id,
method = "ds", p.adjust.method = "fdr"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.