1 | initial version |
No, Fisher's exact test cannot be vectorized as it requires calculating the probabilities of all possible outcomes given the observed data, which cannot be done efficiently in a vectorized manner. However, there are R packages such as "stats" and "exact2x2" that have functions to perform Fisher's exact test in a neat and efficient manner.