beta_plot | R Documentation |
Plot a Beta distribution
beta_plot(alpha, beta, show_hpd = FALSE, level = 0.95, xlim = c(0, 1))
alpha |
First shape parameter of the Beta distribution. |
beta |
Second shape parameter of the Beta distribution. |
show_hpd |
Show the HPD interval as a line segment. |
level |
Amount of mass in the HPD interval. |
A ggplot object.
beta_plot(2, 2) beta_plot(10, 5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.