logit: Logit and anti-logit function.

Description Usage Arguments Value Author(s) Examples

View source: R/logit.R

Description

Compute the logit or anti-logit.

Usage

1
2
3
logit(p)

expit(theta)

Arguments

p

probability between 0 and 1.

theta

logit between -infinity and +infinity

Value

Computed logit or anti-logit

Author(s)

C.J.Schwarz cschwarz@stat.sfu.ca

Examples

1
2
3
##---- compute the logit and its inverse
logitp <- logit(.3)
p <- expit(-.84)

BTSPAS documentation built on Oct. 25, 2021, 9:07 a.m.