Displays Areas Under a Beta Curve
Computes and Displays Areas Under a Beta Curve
beta_area(lo, hi, shape_par, Color = "orange")
lo
: lower bound of intervalhi
: upper bound of intervalshape_par
: vector of shape parameters of the beta curveColor
: color of shading in the graphggplot2 object containing the graphical display.
Jim Albert
lo <- .2 hi <- .4 shape_par <- c(2, 5) beta_area(lo, hi, shape_par)