by Wake » Wed Jan 22, 2020 2:21 pm
Is it possible to do a Fisher Exact test on a bigger matrix than 2x2 using the Rj editor.
I tried fisher.test(data[c(1:2)]) but got the error message "all entries of 'x' must be nonnegative and finite. I get this whether the data in columns 1 and 2 form a 2x2 table or a 3x2 table. I get the same for fisher.test(data[c('A','B')])
The other version of the syntax I tried was fisher.test(data[c(1)],data[c(2)]) which produces 'x' must have at least 2 rows and columns.
Any ideas?
Cheers,
Wake