powered by
A wrapper for stats::fisher.test to conveniently compare response rates between two arms (experimental and control).
stats::fisher.test
fisher(Yc, nc, Yt, nt, alternative = "greater")
An object of class htest as returned by stats::fisher.test.
htest
A scalar integer. The number of subjects with a response in the control arm.
A scalar integer. The total number of subjects in the control arm.
A scalar integer. The number of subjects with a response in the experimental (treatment) arm.
A scalar integer. The total number of subjects in the experimental arm.
A character string specifying the alternative hypothesis. Must be one of "two.sided" (default), "greater" or "less".
fisher.test
fisher(Yc=12, nc=40, Yt=19, nt=40)
Run the code above in your browser using DataLab