beta_interval: Probability Interval for a Beta Curve

Description Usage Arguments Value Author(s) Examples

View source: R/beta_interval.R

Description

Computes Probability Interval for a Beta Curve

Usage

1
  beta_interval(prob, shape_par, Color = "orange")

Arguments

prob

value of coverage probability

shape_par

vector of shape parameters of the beta curve

Color

color of shading in the graph

Value

Computes and displays the "equal tails" interval that contains the beta curve with the specified probability

Author(s)

Jim Albert

Examples

1
2
  parameters <- c(2, 5)
  beta_interval(.5, parameters)

bayesball/TeachBayes documentation built on Jan. 5, 2020, 1:47 a.m.