plot_beta: Plot a Beta Model for pi

View source: R/plot_beta.R

plot_betaR Documentation

Plot a Beta Model for π

Description

Plots the probability density function (pdf) for a Beta(alpha, beta) model of variable π.

Usage

plot_beta(alpha, beta, mean = FALSE, mode = FALSE)

Arguments

alpha, beta

positive shape parameters of the Beta model

mean, mode

a logical value indicating whether to display the model mean and mode

Value

A density plot for the Beta model.

Examples

plot_beta(alpha = 1, beta = 12, mean = TRUE, mode = TRUE)

mdogucu/bayesrules documentation built on April 23, 2022, 2:46 a.m.