| wrapFisherTest.data.frame {sigr} | R Documentation | 
Wrap fisher.test (test of categorical independence).
Description
Wrap fisher.test (test of categorical independence).
Usage
## S3 method for class 'data.frame'
wrapFisherTest(
  x,
  Column1Name,
  Column2Name,
  ...,
  na.rm = FALSE,
  workspace = 2e+05,
  hybrid = FALSE,
  control = list(),
  or = 1,
  alternative = "two.sided",
  conf.int = TRUE,
  conf.level = 0.95,
  simulate.p.value = FALSE,
  B = 2000
)
Arguments
| x | data.frame | 
| Column1Name | character column 1 name | 
| Column2Name | character column 2 name | 
| ... | extra arguments (not used) | 
| na.rm | logical, if TRUE remove NA values | 
| workspace | passed to  | 
| hybrid | passed to  | 
| control | passed to  | 
| or | passed to  | 
| alternative | passed to  | 
| conf.int | passed to  | 
| conf.level | passed to  | 
| simulate.p.value | passed to  | 
| B | passed to  | 
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'))
wrapFisherTest(d, 'x', 'y')
[Package sigr version 1.1.5 Index]