G.theo.multcomp: Pairwise comparisons after a G-test for given probabilities
Description
Performs pairwise comparisons after a global G-test for given probabilities.
Usage
G.theo.multcomp(x, p = rep(1/length(x), length(x)), p.method = "fdr")
Arguments
x
numeric vector (counts).
p
theoretical proportions.
p.method
method for p-values correction. See help of p.adjust.
Value
methodname of the test.
data.namea character string giving the name(s) of the data.
observedobserved counts.
expectedexpected counts.
p.adjust.methodmethod for p-values correction.
statisticstatistics of each test.
p.value2corrected p-values.
p.valuedata frame of results.
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.theo.multcomp in that case.