Learn R Programming

quickpsy (version 0.1.2)

inv_logistic_fun: Inverse logistic function

Description

Inverse logistic function

Usage

inv_logistic_fun(q, p)

Arguments

q
Vector of probabilities.
p
Vector of parameters $p = c(\alpha, \beta)$.

Value

  • x at each probability.

See Also

logistic_fun

Examples

Run this code
yseq <- seq(0, 1, .01)
xseq <- inv_logistic_fun(yseq, c(2, 4))
curve <- data.frame(x = xseq, y = yseq)
ggplot(curve, aes(x = x, y = y)) + geom_line()

Run the code above in your browser using DataLab