G.multcomp: Pairwise comparisons after a G-test

G.multcompR Documentation

Pairwise comparisons after a G-test

Description

Performs pairwise comparisons after a global G-test.

Usage

G.multcomp(x, p.method = "fdr")

Arguments

x

numeric vector (counts).

p.method

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

Details

Since a G-test is an approximate test, an exact test is preferable when the number of individuals is small (200 is a reasonable minimum). See multinomial.multcomp in that case.

Value

method

name of the test.

data.name

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

p.adjust.method

method for p-values correction.

p.value

table of results.

Author(s)

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

See Also

G.test, multinomial.test, multinomial.multcomp

Examples

counts <- c(49,30,63,59)
G.test(counts)
G.multcomp(counts)

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