wrapFisherTest.htest {sigr}R Documentation

Wrap fisher.test (test of categorical independence).

Description

Wrap fisher.test (test of categorical independence).

Usage

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

Arguments

x

fisher.test result

...

extra arguments (not used)

Value

wrapped test.

Examples


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)



[Package sigr version 1.1.5 Index]