Learn R Programming

onewaytests (version 2.5)

paircomp.jt: Pairwise Comparisons for James Second Order Test

Description

paircomp.jt performs multiple comparisons by adjusting the level of significance for James second order test.

Usage

# S3 method for jt
paircomp(x, adjust.method = c("bonferroni", "none"), ...)

Arguments

x

a jt object.

adjust.method

Method for adjusting the significance level. "bonferroni": Bonferroni correction, "none": No correction.

...

Additional arguments affecting multiple comparisons of groups in one-way independent designs.

Value

Returns a data.frame of output.

Examples

Run this code
# NOT RUN {
library(onewaytests)

out <- james.test(Sepal.Length ~ Species, data = iris, alpha = 0.05)
paircomp(out, adjust.method = "bonferroni")

# }

Run the code above in your browser using DataLab