R/getOR.R
getOR.Rd
Calculate the odds ratio from a 2 by 2 table.
getOR(x)
A two by two matrix.
The odds ratio calculated from x.
x
Andrew E Jaffe
getOR(matrix(seq_len(4), ncol = 2)) #> [1] 0.6666667