logit: Transform from [0,1] to the reals

logitR Documentation

Transform from [0,1] to the reals

Description

The logit function is a standard transformation from [0,1] (such as a probability) to the real number line. This function is exactly the same as qlogis.

Usage

logit(p, location = 0, scale = 1, lower.tail = TRUE, log.p = FALSE)

Arguments

p

a number between 0 and 1

location

see qlogis

scale

see qlogis

lower.tail

see qlogis

log.p

see qlogis

See Also

qlogis, plogis

Examples

logit(.5)  # 0
logit(.25) # -1.098
logit(0)   # -Inf

rpf documentation built on Aug. 22, 2023, 1:06 a.m.

Related to logit in rpf...