Learn R Programming

onewaytests (version 3.0)

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"), verbose = TRUE, ...)

Value

Returns a data.frame of output.

Arguments

x

a jt object.

adjust.method

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

verbose

a logical for printing output to R console.

...

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

Author

Osman Dag

Examples

Run this code

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