Description Usage Arguments Value Author(s) Examples
View source: R/beta_prior_post.R
Plot of Two Beta Curves
1 2 | beta_prior_post(prior_shapes, post_shapes,
label_1="Prior", label_2="Posterior")
|
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 |
Displays the two beta curves on the same panel
Jim Albert
1 | beta_prior_post(c(4, 6), c(19, 16))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.