inv_logistic_fun: Inverse logistic function

View source: R/inv_logistic_fun.R

inv_logistic_funR Documentation

Inverse logistic function

Description

Inverse logistic function

Usage

inv_logistic_fun(q, p)

Arguments

q

Vector of probabilities.

p

Vector of parameters p = c(α, β).

Value

x at each probability.

See Also

logistic_fun

Examples

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()

danilinares/quickpsy documentation built on Feb. 13, 2023, 8:44 p.m.