beta_area function

Displays Areas Under a Beta Curve

Displays Areas Under a Beta Curve

Computes and Displays Areas Under a Beta Curve

beta_area(lo, hi, shape_par, Color = "orange")

Arguments

  • lo: lower bound of interval
  • hi: upper bound of interval
  • shape_par: vector of shape parameters of the beta curve
  • Color: color of shading in the graph

Returns

ggplot2 object containing the graphical display.

Author(s)

Jim Albert

Examples

lo <- .2 hi <- .4 shape_par <- c(2, 5) beta_area(lo, hi, shape_par)