Learn R Programming

RVAideMemoire (version 0.9-79)

pairwise.var.test: Pairwise F tests

Description

Performs pairwise comparisons between group levels with corrections for multiple testing.

Usage

pairwise.var.test(resp, fact, p.method = "fdr",
  alternative = c("two.sided","less", "greater"))

Arguments

resp

response vector.

fact

grouping factor.

p.method

method for p-values correction. See help of p.adjust.

alternative

a character string specifying the alternative hypothesis, must be one of "two.sided" (default), "greater" or "less".

Value

method

a character string giving the name of the test.

data.name

a character string giving the name(s) of the data.

p.value

table of results.

p.adjust.method

method for p-values correction.

See Also

pairwise.perm.var.test

Examples

Run this code
# NOT RUN {
require(graphics)

# Bartlett test
bartlett.test(count~spray,data=InsectSprays)

# Pairwise comparisons
pairwise.var.test(InsectSprays$count,InsectSprays$spray)
# }

Run the code above in your browser using DataLab