powered by
Cumulative normal function.
cum_normal_fun(x, p)
Vector of values of the explanatory variable.
Vector of parameters p = c(mean, standard_deviation).
p = c(mean, standard_deviation)
Probability at each x.
x
inv_cum_normal_fun
# NOT RUN { 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() # }
Run the code above in your browser using DataLab