On Apr 28, 2011, at 4:23 PM, viostorm wrote:
I have read the help page, or at least ?fisher.exact
Then it should have been clear that more than 2x2 tables can be used.
I looked a bit on the Internet I guess it is applicable to > 2x2. I
had
spoken to a biostatistician here who is quite excellent and was
adamant with
me I could not do > 2x2.
I found this:
http://mathworld.wolfram.com/FishersExactTest.html
Does anyone know specifically how R is calculating this?
The answer to any question like that is ... look at the source. You
will see extensive use of phyper() which is calculating that
expression for various arguments.
?phyper
--
David Winsemius, MD
West Hartford, CT
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.