plotPosteriorDensity.RdPlot the posterior density.
plotPosteriorDensity(trace, prior = NULL, colour = NULL, plot = TRUE)either a data.frame or a list of data.frame
with all variables in column, as returned by mcmcMh. Accept
also an mcmc, a mcmc.list object or a list of
mcmc.list .
a data.frame containing the prior density. It must have
  the three following columns:
theta names of the parameters
x value of the parameters
density density of the prior at x
named vector of two characters and containing colour names for
posterior and prior distributions. Vector names must be posterior
and prior.
if TRUE the plot is displayed, and returned otherwise.
burnAndThin
data(mcmcEpi)
plotPosteriorDensity(mcmcEpi1)
#> `stat_bin()` using `bins = 30`. Pick better value with `binwidth`.
