oddsratio: Calculate odds ratio for a 2x2 contingency table

View source: R/oddsratio.R

oddsratioR Documentation

Calculate odds ratio for a 2x2 contingency table

Description

Calculate odds ratio for a 2x2 contingency table

Usage

oddsratio(x, verbose = TRUE)

Arguments

x

2x2 contingency table (created with table(x, y), where x and y are factors with the first level being the control / unaffected / negative)

verbose

Logical: If TRUE, print messages to console


egenn/rtemis documentation built on May 4, 2024, 7:40 p.m.