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 Prior and Posterior Beta Curves

Usage

1
  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

Value

ggplot2 object containing the graphical display.

Author(s)

Jim Albert

Examples

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

ProbBayes documentation built on March 13, 2020, 1:31 a.m.