Performs pairwise comparisons after a comparison of proportions or after a test for independence of 2 categorical variables, by using a Fisher's exact test.
fisher.multcomp(tab.cont, p.method ="fdr")
Arguments
tab.cont: contingency table.
p.method: method for p-values correction. See help of p.adjust.
Details
Since chi-squared and G tests are approximate tests, exact tests are preferable when the number of individuals is small (200 is a reasonable minimum).
Returns
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 of pairwise comparisons.