log_odds {extras}R Documentation

Log Odds

Description

Calculates the log odds for probabilities.

Usage

log_odds(x)

Arguments

x

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

Value

A numeric object of the the log odds for each probability.

See Also

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

Examples

log_odds(c(0, 0.5, 0.9, 1))

[Package extras version 0.6.1 Index]