paircomp | R Documentation |
paircomp
is a generic function for pairwise comparisons by adjusting p-values.
## S3 method for class 'owt'
paircomp(x, adjust.method = c("bonferroni", "holm", "hochberg", "hommel", "BH",
"BY", "fdr", "none"), verbose = TRUE, ...)
x |
a |
adjust.method |
Method for adjusting p values (see |
verbose |
a logical for printing output to R console. |
... |
Additional arguments affecting multiple comparisons of groups in one-way independent designs. |
Returns a data.frame of output.
Osman Dag
library(onewaytests)
out <- aov.test(Sepal.Length ~ Species, data = iris)
paircomp(out)
paircomp(out, adjust.method = "hochberg")
out2 <- kw.test(Sepal.Length ~ Species, data = iris)
paircomp(out2)
paircomp(out2, adjust.method = "hommel")
out3 <- kw.test(Sepal.Length ~ Species, data = iris)
paircomp(out3)
paircomp(out3, adjust.method = "holm")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.