powered by
Inverse logistic function
inv_logistic_fun(q, p)
Vector of probabilities.
Vector of parameters \(p = c(\alpha, \beta)\).
x at each probability.
x
logistic_fun
# NOT RUN { 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