odds: Odds

Description Usage Arguments Value See Also Examples

View source: R/odds.R

Description

Calculates the odds for probabilities.

Usage

1
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: log_odds_ratio(), odds_ratio()

Examples

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

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