fisher.multcomp: Pairwise comparisons after a test for independece of 2 categorical variables
Description
Perform pairwise comparisons after a test for independence of 2 categorical variables, using a Fisher's exact test on each possible 2x2 table. For readability, the function returns results of comparison having a p-value < 0.1.
Usage
fisher.multcomp(tab.cont, p.method = "fdr")
Arguments
tab.cont
contingency table.
p.method
method for p-values correction. See help of the p.adjust() function.
Value
p.methodmethod for p-values correction.
levelslevels of each factor used for creating each 2x2 table.
odds.ratiostatistics of each test.
p.valuecorrected p-values.
total.recapdata.frame of all comparisons.
limited.recapdata.frame of restricted comparisons (p<0.1).< description="">0.1).<>