Replaces an object with the inverse log odds of value.

log_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_ratio(), log_odds(), odds<-(), odds_ratio(), odds()

Examples

x <- NULL
log_odds(x) <- 0.5
x
#> [1] -1.098612