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.

Examples

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