powered by
Performs pairwise comparisons after a global G-test.
G.multcomp(x, p.method = "fdr")
name of the test.
a character string giving the name(s) of the data.
method for p-values correction.
table of results.
numeric vector (counts).
method for p-values correction. See help of p.adjust.
p.adjust
Maxime HERVE <[email protected]>
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.
multinomial.multcomp
G.test, multinomial.test, multinomial.multcomp
G.test
multinomial.test
counts <- c(49,30,63,59) G.test(counts) G.multcomp(counts)
Run the code above in your browser using DataLab