Plots the histogram of MCMC samples.

plot_dist(
  sample = NULL,
  title = NULL,
  x_lab = "Value",
  y_lab = "Density",
  x_lim = NULL,
  font_size = NULL,
  bin_size = NULL,
  ...
)

Arguments

sample

MCMC samples

title

Character value containing the main title for the plot

x_lab

Character value containing the x label

y_lab

Character value containing the y label

x_lim

Vector containing the lower and upper x-bounds of the plot

font_size

Size of the font to use for plotting. Defaults to 10

bin_size

Size of the bins for creating the histogram. Defaults to 30

...

Arguments that can be additionally supplied to geom_histogram

Value

h1 Plot object