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

Suppose you have data that one row represents one drug, as shown below, and the columns have data on the number of people with the disease and the number of people without the disease.

To run a Fisher's Exact Test on such data, create a note and insert a "R Code".

Then, write the following in the code block and execute the note. (Note that data_for_test is the name of the data frame created for this test.)

fisher.test(data_for_test)

You can check the results of running Fisher's Exact Test.

Export Chart Image
Output Format
PNG SVG
Background
Set background transparent
Size
Width (Pixel)
Height (Pixel)
Pixel Ratio