odds: Odds

View source: R/odds.R

oddsR Documentation

Odds

Description

Calculates the odds for probabilities.

Usage

odds(x)

Arguments

x

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

Value

A numeric object of the the odds for each probability.

See Also

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

Examples

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

extras documentation built on May 31, 2023, 6:22 p.m.