Skip to contents

Replaces an object with the inverse odds of value.

Usage

odds(x) <- value

Arguments

x

An existing R object.

value

A numeric atomic object.

Value

Called for the side effect of updating x.

See also

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

Examples

x <- NULL
odds(x) <- 0.5
x
#> [1] 0.3333333