Learn R Programming

ProbBayes (version 1.1)

beta_interval: Probability Interval for a Beta Curve

Description

Computes Probability Interval for a Beta Curve

Usage

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

ggplot2 object containing the graphical display.

Examples

Run this code
# NOT RUN {
  shape_par <- c(2, 5)
  beta_interval(.5, shape_par)
# }

Run the code above in your browser using DataLab