Displays Area Under a Normal Curve
Computes and Displays Area Under a Normal Curve
normal_area(lo, hi, normal_pars, Color = "orange")
lo
: lower bound of intervalhi
: upper bound of intervalnormal_pars
: vector of mean and standard deviation of the normal curveColor
: color of shading in plotggplot2 object containing the graphical display.
Jim Albert
lo <- 10 hi <- 20 normal_pars <- c(25, 10) normal_area(lo, hi, normal_pars)