Inverse logistic function
inv_logistic_fun(q, p)
q
: Vector of probabilities.p
: Vector of parameters .x
at each probability.
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()
logistic_fun