Learn R Programming

quickpsy (version 0.1.5.1)

inv_cum_normal_fun: Inverse cumulative normal function

Description

Inverse cumulative normal function

Usage

inv_cum_normal_fun(prob, p)

Arguments

prob

Vector of probabilities.

p

Vector of parameters p = c(mean, standard_deviation).

Value

x at each probability. #' @seealso cum_normal_fun

Examples

Run this code
# NOT RUN {
yseq <- seq(0, 1, .01)
xseq <- inv_cum_normal_fun(yseq, c(2, .5))
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