Learn R Programming

sigr (version 1.1.5)

wrapFisherTest.htest: Wrap fisher.test (test of categorical independence).

Description

Wrap fisher.test (test of categorical independence).

Usage

# S3 method for htest
wrapFisherTest(x, ...)

Value

wrapped test.

Arguments

x

fisher.test result

...

extra arguments (not used)

Examples

Run this code

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