cci {BIGDAWG}R Documentation

Case-Control Odds ratio calculation and graphing

Description

cci function port epicalc version 2.15.1.0 (Virasakdi Chongsuvivatwong, 2012)

Usage

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
)

Arguments

caseexp

Number of cases exposed

controlex

Number of controls exposed

casenonex

Number of cases not exosed

controlnonex

Number of controls not exposed

cctable

A 2-by-2 table. If specified, will supercede the outcome and exposure variables

graph

If TRUE (default), produces an odds ratio plot

design

Specification for graph; can be "case control","case-control", "cohort" or "prospective"

main

main title of the graph

xlab

label on X axis

ylab

label on Y axis

xaxis

two categories of exposure in graph

yaxis

two categories of outcome in graph

alpha

level of significance

fisher.or

whether odds ratio should be computed by the exact method

exact.ci.or

whether confidence limite of the odds ratio should be computed by the exact method

decimal

number of decimal places displayed

Note

This function is for internal BIGDAWG use only.


[Package BIGDAWG version 3.0.3 Index]