beta_area {ProbBayes}R Documentation

Displays Areas Under a Beta Curve

Description

Computes and Displays Areas Under a Beta Curve

Usage

  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

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

[Package ProbBayes version 1.1 Index]