expit: Inverse-logit function

View source: R/helpers.R

expitR Documentation

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


expit(1:10)


blm documentation built on Sept. 12, 2022, 9:05 a.m.