logit: The logit function.

logitR Documentation

The logit function.

Description

logit computes log( \code{p} / (1-p)), i.e. maps the interval [0, 1] to the interval of (-\infty, \infty).

Usage

logit(p)

Arguments

p

a number in the range of <0, 1>

Value

logit

Author(s)

Tomas Sieger

See Also

expit

Examples

logit(0)
logit(.5)
logit(1)

tsieger/tsiMisc documentation built on Oct. 10, 2023, 10:24 p.m.