beta_prior_post {ProbBayes}R Documentation

Plot of Two Beta Curves

Description

Plot of Prior and Posterior Beta Curves

Usage

  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

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

[Package ProbBayes version 1.1 Index]