Learn R Programming

IPAG (version 0.1.0)

oddsratio_ci: Confidence interval for odds ratio from a 2x2 table

Description

Confidence interval for odds ratio from a 2x2 table

Usage

oddsratio_ci(a, b, c, d, level = 0.99)

Value

Object of class 'oddsratio_ci'

Arguments

a, b, c, d

Cell counts of the 2x2 contingency table

level

Confidence level (default 0.99)

Examples

Run this code
oddsratio_ci(a = 12, b = 5, c = 4, d = 15)
oddsratio_ci(a = 12, b = 5, c = 4, d = 15, level = 0.95)

Run the code above in your browser using DataLab