Pairwise comparisons after a chi-squared goodness-of-fit test
Pairwise comparisons after a chi-squared goodness-of-fit test
Performs pairwise comparisons after a global chi-squared goodness-of-fit test.
chisq.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 chi-squared 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.
Returns
method: name of the test.
data.name: a character string giving the name(s) of the data.