cum_normal_fun function

Cumulative normal function

Cumulative normal function

Cumulative normal function.

cum_normal_fun(x, p)

Arguments

  • x: Vector of values of the explanatory variable.
  • p: Vector of parameters p = c(mean, standard_deviation).

Returns

Probability at each x.

Examples

xseq <- seq(0,4,.01) yseq <- cum_normal_fun(xseq, c(2, .5)) curve <- data.frame(x = xseq, y = yseq) ggplot(curve, aes(x = x, y = y)) + geom_line()

See Also

inv_cum_normal_fun