Description Usage Arguments Value Author(s) Examples
View source: R/beta_prior_post.R
Plot of Prior and Posterior Beta Curves
1 | beta_prior_post(prior_shapes, post_shapes)
|
prior_shapes |
vector of shape parameters of the beta prior |
post_shapes |
vector of shape parameters of the beta posterior |
ggplot2 object containing the graphical display.
Jim Albert
1 2 3 | prior_shapes <- c(4, 6)
post_shapes <- c(19, 16)
beta_prior_post(prior_shapes, post_shapes)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.