powered by
Wrap fisher.test (test of categorical independence).
# S3 method for htest wrapFisherTest(x, ...)
wrapped test.
fisher.test result
extra arguments (not used)
d <- data.frame(x=c('b','a','a','a','b','b','b'), y=c('1','1','1','2','2','2','2')) ft <- fisher.test(table(d)) wrapFisherTest(ft)
Run the code above in your browser using DataLab