Learn R Programming

blm (version 1.2)

expit: Inverse-logit function

Description

Returns the inverse logit. Where,

$$expit(x) = \frac{\exp(x)}{(1+\exp(x))}$$

Usage

expit(x)

Arguments

x
numeric vector

Value

  • Numeric that is the inverse logit of x.

Examples

Run this code
expit(1:10)

Run the code above in your browser using DataLab