Plot of Two Beta Curves

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

Examples

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