Entering edit mode
Dear member of this community:
when I called fisher.test() for set of score value matrix, and function returns me 3 lines descriptive results. In particular, I want to compare result of fisher.test() with another numeric values. Now, function returns me text descriptive results, and I cannot access p-value instance.
Here is the example:
> data
[,1] [,2]
[1,] 5 23
[2,] 8 5
[3,] 2 8
> fisher.test(data)
Fisher's Exact Test for Count Data
data: data
p-value = 0.02128
alternative hypothesis: two.sided
I want to compare this p-value with other numeric pvalue. But, in this case, I don't know how to get this done. Thanks all of your favor !!
