From fc at maths.uq.edu.au  Thu Jun 17 12:00:47 2004
From: fc at maths.uq.edu.au (fc@maths.uq.edu.au)
Date: Thu Jun 17 12:00:50 2004
Subject: [Rd] Bug in FEXACT: gave negative key (PR#6986)
Message-ID: <20040617100047.B13DB1057B@slim.kubism.ku.dk>



Hello,

I'm using R to apply Fishers exact test to a whole pile of
contingency tables, and I've run into the bug shown below.

regards,

Francis

--

> dat1 = matrix(c(0,1,0,1,0,0,1,0,0,0,1,0,1,0,0,1,0,0,0,1,0,1,0,0,1,0,0,0,0,
           1,1,0,0,1,0,0,1,0,0,1,0,0,3,0,0,2,0,0,1,0,0,0,1,0,0,2,0,0,
          2,0,0,1,0,1,0,0,3,0,0,2,0,0,0,1,0,5,0,0,0,1,0,1,0,0),    nrow=3)

> fisher.test( dat1 )

Error in fisher.test(dat1) : Bug in FEXACT: gave negative key


[Rd] Bug in FEXACT: gave negative key (PR#6986)
fc@maths.uq.edu.au