plot_beta_ci {bayesrules} | R Documentation |
Plot a Beta Model with Credible Interval
Description
Plots the probability density function (pdf) for a
Beta(alpha, beta) model of variable \pi
with markings indicating
a credible interval for \pi
.
Usage
plot_beta_ci(alpha, beta, ci_level = 0.95)
Arguments
alpha , beta |
positive shape parameters of the Beta model |
ci_level |
credible interval level |
Value
A density plot for the Beta model
Examples
plot_beta_ci(alpha = 7, beta = 12, ci_level = 0.80)
[Package bayesrules version 0.0.2 Index]