Learn R Programming

extras (version 0.7.3)

odds<-: Inverse Odds Transformation

Description

Replaces an object with the inverse odds of value.

Usage

odds(x) <- value

Value

Called for the side effect of updating x.

Arguments

x

An existing R object.

value

A numeric atomic object.

See Also

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

Examples

Run this code
x <- NULL
odds(x) <- 0.5
x

Run the code above in your browser using DataLab