or: calculate odds ratio and confidence intervales based on...

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/freq.R

Description

calculate odds ratio and confidence intervales based on fisher exact probability

Usage

1
or(A, B = NULL, C = NULL, D = NULL)

Arguments

A

A matrix or the first numer of a 2*2 table case exposed

B

Second number of a 2*2 table non case exposed

C

Third number of a 2*2 table control exposed

D

Fourth number of a 2*2 table control non exposed

Value

a list with or, lci, uci

Author(s)

Gilles Desve

References

Based on: Epi6 and Stata functionnality, available at https://github.com/.

See Also

freq for frequency distributions

Examples

1
or(5,2,1,3)

gdesve/epifield documentation built on Jan. 23, 2022, 10:03 a.m.