expit: expit: inverse of logit

View source: R/expit.R

expitR Documentation

expit: inverse of logit

Description

expit: inverse of logit

Usage

expit(input)

Arguments

input

input a vector of value(s). These values can be between negative infinity to infinity.

Value

Returns value(s) that are proportion(s) between 0 and 1

Examples

# taking the expit of any value(s) between negative infinity and infinity & return a proportion 
expit(3)
# taking the expit of a vector of values 
expit(c(-0.1, 2, 1.5, -1))

statdivlab/happi documentation built on April 19, 2024, 2:04 a.m.