paircomp {onewaytests} | R Documentation |
Pairwise Comparisons
Description
paircomp
is a generic function for pairwise comparisons by adjusting p-values.
Usage
## S3 method for class 'owt'
paircomp(x, adjust.method = c("bonferroni", "holm", "hochberg", "hommel", "BH",
"BY", "fdr", "none"), verbose = TRUE, ...)
Arguments
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. |
Value
Returns a data.frame of output.
Author(s)
Osman Dag
Examples
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")
[Package onewaytests version 3.0 Index]