log_odds_ratio2 {extras}R Documentation

Log Odds Ratio2

Description

Calculates the log odds ratio for a vector of two probabilities.

Usage

log_odds_ratio2(x)

Arguments

x

A numeric vector of length 2.

Value

A number.

See Also

Other odds fun2: odds_ratio2()

Examples

log_odds_ratio2(c(0.5,0.9))
log_odds_ratio2(c(0.9,0.5))

[Package extras version 0.6.1 Index]