logit: 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
Examples
Run this codelogit(.5) # 0
logit(.25) # -1.098
logit(0) # -Inf
Run the code above in your browser using DataLab