Plots the histogram of MCMC samples.

plotDist(
  sample = NULL,
  Title = NULL,
  xLab = "Value",
  yLab = "Density",
  xLim = NULL,
  fontSize = NULL,
  binSize = NULL,
  ...
)

Arguments

sample

MCMC samples

Title

Character value containing the main title for the plot

xLab

Character value containing the x label

yLab

Character value containing the y label

xLim

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

fontSize

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

binSize

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

...

Arguments that can be additionally supplied to geom_histogram

Value

h1 Plot object