Learn R Programming

extras (version 0.7.3)

logit<-: Logistic Transformation

Description

Logistic Transformation

Usage

logit(x) <- value

Value

Called for the side effect of updating x.

Arguments

x

An existing object.

value

A numeric atomic object of the value to inverse logistically transform.

Details

A wrapper on stats::plogis(value).

See Also

Other translations: exp10(), exp2(), fabs(), ilog(), ilog10(), ilog2(), ilogit(), inv_logit(), invlogit(), log10<-(), log2<-(), log<-(), logit(), phi(), pow(), step()

Examples

Run this code
x <- 1
logit(x) <- 0.5
x

Run the code above in your browser using DataLab