![]() |
|
Fisher's exact test for contingency tables
This file primarily consists of an algorithm from the ACM, fully documented below. The C code below was cut and pasted from the R project. Thanks, guys.
Un-R-ifying modifications Copyright (c) 2006--2009 by Ben Klemens. Licensed under the modified GNU GPL v2; see COPYING and COPYING2.
R version credits: fexact.f -- translated by f2c (version 19971204). Run through a slightly modified version of MM's f2c-clean. Heavily hand-edited by KH and MM.
Run the Fisher exact test on an input contingency table.