Skip to contents

Plot a beta density distribution

Usage

plotdbeta(shape1, shape2, expectation = TRUE, HDImass = 0.95, xlim = c(0, 1))

Arguments

shape1

Shape parameter passed to dbeta.

shape2

Shape parameter passed to dbeta.

expectation

Include line for expected value.

HDImass

Mass of credible interval to shade. NULL to omit.

xlim

Limit range of x-axis.