or function

Odds Ratio from a matrix

Odds Ratio from a matrix

Compute the odds ratio from a contingency table or a matrix.

or(x)

Arguments

  • x: a 2x2 table or matrix.

Returns

A real value.