beta_area: Displays Areas Under a Beta Curve

Description Usage Arguments Value Author(s) Examples

View source: R/beta_area.R

Description

Computes and Displays Areas Under a Beta Curve

Usage

1
  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

Value

ggplot2 object containing the graphical display.

Author(s)

Jim Albert

Examples

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

ProbBayes documentation built on March 13, 2020, 1:31 a.m.