inv_cum_normal_fun: Inverse cumulative normal function

View source: R/inv_cum_normal_fun.R

inv_cum_normal_funR Documentation

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

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

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