normal_area function

Displays Area Under a Normal Curve

Displays Area Under a Normal Curve

Computes and Displays Area Under a Normal Curve

normal_area(lo, hi, normal_pars, Color = "orange")

Arguments

  • lo: lower bound of interval
  • hi: upper bound of interval
  • normal_pars: vector of mean and standard deviation of the normal curve
  • Color: color of shading in plot

Returns

ggplot2 object containing the graphical display.

Author(s)

Jim Albert

Examples

lo <- 10 hi <- 20 normal_pars <- c(25, 10) normal_area(lo, hi, normal_pars)