Plots a histogram of the given discrete MCMC samples
.plot_hist(
samples,
title = "",
xlab = "Values",
ylab = "Frequency",
color = "black",
fill = "blue",
binwidth = 0.05,
scale_x = FALSE
)a ggplot2 object
data.frame containing the discrete MCMC samples
title of the plot, default is none
x-label of the plot, default is "Values"
y-label of the plot, default is "Frequency"
outline color for the bars, default is "black"
fill color, default is "blue"
width of the histogram bins, default is 0.5
option to scale the x-axis, suitable for discrete samples, default is FALSE