logit {ddtlcm}R Documentation

The logistic function

Description

The logit function: f(x) = log(x / (1/x)). Large absolute values of x will be truncated to +/- 5 after logit transformation according to its sign.

Usage

logit(x)

Arguments

x

a value or a numeric vector between 0 and 1 (exclusive)

Value

a number or real-valued vector

Examples

logit(0.2)
logit(c(0.2, 0.6, 0.95))

[Package ddtlcm version 0.2.1 Index]