cci function port epicalc version 2.15.1.0 (Virasakdi Chongsuvivatwong, 2012)
cci(caseexp, controlex, casenonex, controlnonex, cctable = NULL,
graph = TRUE, design = "cohort", main, xlab, ylab, xaxis, yaxis,
alpha = 0.05, fisher.or = FALSE, exact.ci.or = TRUE, decimal = 2)
Number of cases exposed
Number of controls exposed
Number of cases not exosed
Number of controls not exposed
A 2-by-2 table. If specified, will supercede the outcome and exposure variables
If TRUE (default), produces an odds ratio plot
Specification for graph; can be "case control","case-control", "cohort" or "prospective"
main title of the graph
label on X axis
label on Y axis
two categories of exposure in graph
two categories of outcome in graph
level of significance
whether odds ratio should be computed by the exact method
whether confidence limite of the odds ratio should be computed by the exact method
number of decimal places displayed