This function utlises beta_pal to produce a visualisation of the beta distribution, with user-specified interpretable conditions.

beta_plot(
  expected_value,
  within,
  this_much,
  caption_width = 70,
  theme_default = TRUE
)

Arguments

expected_value

Expected value of beta distrbution from [0,1].

within

Specify distance this_much falls within.

this_much

What proportion falls within the specified interval.

caption_width

Option to control the width of the caption, defaults to 70.

theme_default

Currently defaults to ggthemes::theme_tufte.