plot_beta_ci: Plot a Beta Model with Credible Interval

Description Usage Arguments Value Examples

View source: R/plot_beta_ci.R

Description

Plots the probability density function (pdf) for a Beta(alpha, beta) model of variable π with markings indicating a credible interval for π.

Usage

1
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

1
plot_beta_ci(alpha = 7, beta = 12, ci_level = 0.80)

bayesrules documentation built on Sept. 25, 2021, 9:06 a.m.