I have a matrix looking like:
V1 V2 V3 V4
[1,] 85 11 9 4
[2,] 85 11 11 2
[3,] 85 11 12 0
I would like to combine each line of it in a 2x2 contingency table and perform a fisher.test on each of these contingency table (ideally redirecting results to a file: csv or xlsx).
How to?
Thanks for your help
Aucun commentaire:
Enregistrer un commentaire