cci: Case-Control Odds ratio calculation and graphing

Description Usage Arguments Note

View source: R/stat_functions.R

Description

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

Usage

1
2
3
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.


BIGDAWG documentation built on Feb. 9, 2018, 6:08 a.m.