Learn R Programming

RVAideMemoire (version 0.9-11)

G.multcomp: Pairwise comparisons after a G-test

Description

Perform 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 the p.adjust() function.

Value

  • p.adjust.methodmethod for p-values correction.
  • p.valuetable of results.

See Also

G.test

Examples

Run this code
counts <- c(5,15,23,8,14)
G.test(counts)
G.multcomp(counts)

Run the code above in your browser using DataLab