beta_prior_post: Plot of Two Beta Curves

Description Usage Arguments Value Author(s) Examples

View source: R/beta_prior_post.R

Description

Plot of Two Beta Curves

Usage

1
2
  beta_prior_post(prior_shapes, post_shapes,
     label_1="Prior", label_2="Posterior")

Arguments

prior_shapes

vector of shape parameters of the beta prior

post_shapes

vector of shape parameters of the beta posterior

label_1

title for the first beta curve

label_2

title for the second beta curve

Value

Displays the two beta curves on the same panel

Author(s)

Jim Albert

Examples

1
 beta_prior_post(c(4, 6), c(19, 16))

TeachBayes documentation built on May 1, 2019, 9:17 p.m.