Skip to contents

Replaces an object with the inverse log odds of value.

Usage

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

Examples

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