Learn R Programming

ProbBayes (version 1.1)

beta_area: 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.

Examples

Run this code
# NOT RUN {
  lo <- .2
  hi <- .4
  shape_par <- c(2, 5)
  beta_area(lo, hi, shape_par)
# }

Run the code above in your browser using DataLab