getOR: Calculate the odds ratio

View source: R/getOR.R

getORR Documentation

Calculate the odds ratio

Description

Calculate the odds ratio from a 2 by 2 table.

Usage

getOR(x)

Arguments

x

A two by two matrix.

Value

The odds ratio calculated from x.

Author(s)

Andrew E Jaffe

Examples


getOR(matrix(seq_len(4), ncol = 2))

LieberInstitute/jaffelab documentation built on Dec. 15, 2024, 10:44 p.m.