pairwise.var.test: Pairwise F tests

View source: R/pairwise.var.test.R

pairwise.var.testR Documentation

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.

Author(s)

Maxime HERVE <maxime.herve@univ-rennes1.fr>

See Also

pairwise.perm.var.test

Examples

require(graphics)

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

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

RVAideMemoire documentation built on Nov. 6, 2023, 5:07 p.m.