How to perform Fisher's Exact Test for Count Data with Exploratory

Suppose you have data like this.

Each row represents a drug and it shows the count for no_disease and disease.

Create a note and put the code like this. (NOTE: the data_for_test is the data frame name that you created for this test)

{r warning=FALSE, message=FALSE, echo=FALSE, cache=FALSE, dpi=300 }

This will show the result for Fisher’s Exact Test for Count Data.