expit: The expit function (the inverse to logit).

expitR Documentation

The expit function (the inverse to logit).

Description

expit computes exp(\code{x}) / (1 + exp(\code{x})), i.e. the inverse to logit, i.e. it maps the interval (-\infty, \infty) to the interval of [0, 1].

Usage

expit(x)

Arguments

x

a number

Value

expit of x

Author(s)

Tomas Sieger

See Also

'logit'

Examples

expit(-1e10)
expit(0)
expit(1e10)

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