beta_prior_post function

Plot of Two Beta Curves

Plot of Two Beta Curves

Plot of Prior and Posterior Beta Curves

beta_prior_post(prior_shapes, post_shapes)

Arguments

  • prior_shapes: vector of shape parameters of the beta prior
  • post_shapes: vector of shape parameters of the beta posterior

Returns

ggplot2 object containing the graphical display.

Author(s)

Jim Albert

Examples

prior_shapes <- c(4, 6) post_shapes <- c(19, 16) beta_prior_post(prior_shapes, post_shapes)