odds_ratio: Odds Ratio

Description Usage Arguments Value See Also Examples

View source: R/odds.R

Description

Calculates the odds ratio for two probabilities.

Usage

1
odds_ratio(x, x2)

Arguments

x

A numeric object (vector, matrix or array) of probabilities.

x2

A second numeric object of probabilities.

Value

A numeric object of the odds ratios.

See Also

Other odds: log_odds_ratio(), odds()

Examples

1
odds_ratio(0.5, 0.75)

extras documentation built on Aug. 5, 2021, 9:07 a.m.