View source: R/inv_logistic_fun.R
inv_logistic_fun | R Documentation |
Inverse logistic function
inv_logistic_fun(q, p)
q |
Vector of probabilities. |
p |
Vector of parameters p = c(α, β). |
x
at each probability.
logistic_fun
library(ggplot2) 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()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.