expit: Logit and Expit

Description Usage Arguments Author(s) Examples

View source: R/MTfuncs_all.R

Description

Computes the logit log(x/(1/x)) or expit exp(x)/(1+exp(x))

Usage

1
expit(x)

Arguments

x

Input

Author(s)

Matt Tyers

Examples

1
2
3
4
logit(0.42)
expit(0.42)

curve(expit(x),from=-5,to=5)

mbtyers/MTfuncs documentation built on May 22, 2017, 12:16 a.m.