logit(p) = log(p / (1 - p)), a wrapper for stats::qlogis()
Arguments
- ...
A numeric vector of values between 0 and 1, and other named arguments to
stats::qlogis()if desired.
Examples
logit(0.5)
#> [1] 0
logit(log(0.5), log.p = TRUE)
#> [1] 0
logit(p) = log(p / (1 - p)), a wrapper for stats::qlogis()
A numeric vector of values between 0 and 1, and other named arguments to stats::qlogis() if desired.
logit(0.5)
#> [1] 0
logit(log(0.5), log.p = TRUE)
#> [1] 0