pairwise.fisher.test: Exact version of pairwise.prop.test
Description
By conducting repeatedly Fisher's exact tests instead of chi-square tests, this function can test the null-hypothesis of no difference in any pair of proportions for more than 2 groups, with adjustment of type I error for multiple comparison.
Usage
pairwise.fisher.test(x, n, p.adjust.method, ...)
Value
An object of adjusted p-values for all possible comparisons of pairs with class pairwise.htest.
Arguments
x
A integer vector of event occurences
n
A integer vector of trials
p.adjust.method
A name in p.adjust.methods to specify the method to adjust type I error for multiple comparisons. Default is "holm".
...
Miscellaneous arguments to be given for fisher.test().