Learn R Programming

extras (version 0.7.3)

log_odds_ratio: Log-Odds Ratio

Description

Calculates the log odds ratio for two probabilities.

Usage

log_odds_ratio(x, x2)

Value

A numeric object of the log odds ratios.

Arguments

x

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

x2

A second numeric object of probabilities.

See Also

Other odds: inv_odds(), log_odds(), log_odds<-(), odds(), odds<-(), odds_ratio()

Examples

Run this code
log_odds_ratio(0.5, 0.75)

Run the code above in your browser using DataLab