Learn R Programming

crmPack (version 2.0.0)

logit: Shorthand for Logit Function

Description

[Stable]

Computes the logit transformation.

Usage

logit(x)

Value

The logit of x, computed as log(x / (1 - x)).

Arguments

x

(numeric)
the function argument.

Examples

Run this code
logit(0.5)
logit(c(0.1, 0.5, 0.9))

Run the code above in your browser using DataLab