> c(76,12,26,41) %>% matrix(.,nrow=2,dimnames=list(c('positive','negative'),c('fciminus','fciplus')))
fciminus fciplus
positive 76 26
negative 12 41
> c(76,12,26,41) %>% matrix(.,nrow=2,dimnames=list(c('positive','negative'),c('fciminus','fciplus'))) %>% fisher.test()
Fisher's Exact Test for Count Data
data: .
p-value = 6.886e-10
alternative hypothesis: true odds ratio is not equal to 1
95 percent confidence interval:
4.302013 23.827788
sample estimates:
odds ratio
9.80708